Skip to content

Use four-decimal fractional quantity steps#46

Merged
Pigbibi merged 1 commit into
mainfrom
codex/fractional-step-precision
May 7, 2026
Merged

Use four-decimal fractional quantity steps#46
Pigbibi merged 1 commit into
mainfrom
codex/fractional-step-precision

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • set the LongBridge default fractional quantity step to 0.0001 shares
  • update SOXX fractional-buy expectations to four-decimal sizing
  • update QPK and strategy package pins to the fractional-step releases
  • refresh README examples for the platform-supported quantity step

Tests

  • ./.venv/bin/python -m pytest tests/test_runtime_config_support.py tests/test_runtime_composer.py tests/test_rebalance_service.py::RebalanceServiceNotificationTests::test_fractional_quantity_step_allows_small_soxx_target_buy tests/test_rebalance_service.py::RebalanceServiceNotificationTests::test_zero_target_sell_uses_sellable_quantity_not_price_derived_floor tests/test_rebalance_service.py::RebalanceServiceNotificationTests::test_fractional_buy_uses_budget_when_broker_estimate_is_whole_share_zero

@Pigbibi Pigbibi merged commit 9407fbf into main May 7, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/fractional-step-precision branch May 10, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant