Skip to content

[codex] Add broker cost order floor helper#92

Merged
Pigbibi merged 1 commit into
mainfrom
codex/broker-cost-order-floor
Jun 12, 2026
Merged

[codex] Add broker cost order floor helper#92
Pigbibi merged 1 commit into
mainfrom
codex/broker-cost-order-floor

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a shared broker cost profile helper for deriving small-account minimum order notionals from fixed or minimum order fees
  • cover zero-fee, IBKR-like minimum fee, LongBridge-like fixed fee, and explicit floor cases

Why

Small accounts need broker-aware execution floors without pushing platform-specific fee logic into strategy manifests. This helper lets platform adapters compute an economic order floor while keeping risk exits separate from cost filters.

Validation

  • PYTHONPATH=src python -m pytest tests/test_broker_costs.py

@Pigbibi Pigbibi merged commit c6e221f into main Jun 12, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/broker-cost-order-floor branch June 12, 2026 11:39
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