Add Tradovate brokerage model and fee model #9137
Open
+1,110
−29
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
Closes #9136
I'd like to contribute Tradovate brokerage support to LEAN. Tradovate is a popular futures broker, especially among prop firm traders using platforms like Apex Trader Funding, TopStep, and others that are backed by Tradovate infrastructure.
What's Included
This PR to LEAN (models only):
TradovateBrokerageModel- Order type and security type validationTradovateFeeModel- Per-contract fee structure (micro/e-mini/standard)BrokerageName.Tradovateenum valueSeparate brokerage implementation repository:
Supported Features
Market orders
Limit orders
Stop orders
Stop-limit orders
Trailing stop orders (native Tradovate support)
Order modifications
Order cancellation
Partial fill handling
Multiple sub-accounts
Demo & Live environments
Known Limitations
Execution-only brokerage - No market data streaming or historical data.
Reason: CME requires a sub-vendor license ($290-375/month per exchange) for API market data distribution. Since Tradovate is popular with budget-conscious prop firm traders, this cost is prohibitive for most users. The brokerage is designed to work with separate data feeds (IQFeed, Databento, QuantConnect Cloud data, etc.).
Fee Structure
Based on Tradovate's published commission schedule:
Testing
Related