Skip to content

Allow LongBridge fractional sell orders#31

Merged
Pigbibi merged 1 commit into
mainfrom
codex/longbridge-fractional-sell-policy
May 7, 2026
Merged

Allow LongBridge fractional sell orders#31
Pigbibi merged 1 commit into
mainfrom
codex/longbridge-fractional-sell-policy

Conversation

@Pigbibi
Copy link
Copy Markdown
Contributor

@Pigbibi Pigbibi commented May 7, 2026

Summary

  • allow LongBridge sell orders with fractional quantities at or above 1 share
  • keep local rejection for sub-1 quantities and fractional buy orders
  • cover the BOXX fractional sell path seen in production

Tests

  • PYTHONPATH=src /home/ubuntu/Projects/LongBridgePlatform/.venv/bin/python -m unittest tests.test_longbridge_execution -v
  • PYTHONPATH=src /home/ubuntu/Projects/LongBridgePlatform/.venv/bin/python -m ruff check src/quant_platform_kit/longbridge/execution.py tests/test_longbridge_execution.py
  • git diff --check

@Pigbibi Pigbibi merged commit ce633d7 into main May 7, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/longbridge-fractional-sell-policy branch May 7, 2026 22:10
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