Document Public brokerage#2583
Merged
AlexCatarino merged 5 commits intoJul 10, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds documentation for the Public brokerage integration (Lean PR #9543, Lean PR #9549, lean-cli PR #651), following the structure of #2462 (Webull).
Public supports US Equities, Equity Options, Index Options, and Crypto with 5 order types, so it is placed after Tastytrade and before Alpaca (position 05); Alpaca moves to the pre-existing gap at 06, so no other section renumbers.
01 Cloud Platform/10 Live Trading/02 Brokerages/05 Public(17 pages incl. Rate Limit, Margin, and Troubleshooting from the integration's restrictions doc).03 Writing Algorithms/24 Reality Modeling/05 Brokerages/02 Supported Models/05 Public.PublicFeeModelpage at04 Transaction Fees/02 Supported Models/15 Public Model.html(alphabetical slot); Samco through Zerodha shift up one and the four affected fee anchors are updated.05 Lean CLI/09 Live Trading/01 Brokerages/05 Public, incl. a Data Provider page for the historical-data limits (Trade data; minute = current day, hour = one month, daily = ~18y Equity / ~12y Crypto).Resources/brokerages/publicand entries in the CLI deployment wizard lists, CLI Supported Brokerages table,QuantConnect-Platform-2.0.0.yaml, and the Create Live Algorithm API reference.05 Lean CLI/99 API Referenceregenerated withLean-CLI-API-Reference-Code-Generator.py(separate commit).Order/fee facts match Lean.Brokerages.Public (source of truth): market/limit/stop-market/stop-limit on all assets, combo limit on options only, no combo updates, extended session limit-only, DAY/GTD time in force with GTC sent as GTD+90 days,
UseMargin/OutsideRegularTradingHoursorder properties, and the tiered crypto fee schedule.Test Plan
python -c "import yaml; yaml.safe_load(...)"passes onQuantConnect-Platform-2.0.0.yaml.python url_check.py: the only errors involving these pages are the not-yet-deployed/docs/v2/...Public URLs (resolve on deploy) and the privateLean.Brokerages.Publicrepo link, which is commented out like Webull's.DOCS_RESOURCESincludes referenced by the new pages exist; renumbered sections are contiguous and match the00.jsonkeys.