Skip to content

Add cryptocurrency support to the Interactive Brokers brokerage model - #9766

Open
AlexCatarino wants to merge 1 commit into
QuantConnect:masterfrom
AlexCatarino:feature-ib-crypto-support
Open

Add cryptocurrency support to the Interactive Brokers brokerage model#9766
AlexCatarino wants to merge 1 commit into
QuantConnect:masterfrom
AlexCatarino:feature-ib-crypto-support

Conversation

@AlexCatarino

Copy link
Copy Markdown
Member

Brokerage model side of QuantConnect/Lean.Brokerages.InteractiveBrokers#24.

  • interactivebrokers crypto symbol properties for the 11 pairs IB lists, tick and lot sizes measured from its contract details (BTCUSD ticks 0.25, coinbase says 0.01). Rows placed after the coinbase ones so market-less lookups keep resolving to coinbase; the default crypto market stays Coinbase, where the backtest data lives
  • CanSubmitOrder: listed pairs only, market and limit only, no short sales, buy limit within 10 USD or 0.25% of the ask, buy market needs a price, venue open Sunday 03:00 to Friday 16:00 New York (new market-hours entry)
  • FIX model rejects crypto, fee 0.18% with a 1.75 USD minimum, leverage 1

Every check mirrors an answer IB gave on paper account DU7405806:

  • 201 on GTC (must be Minutes or IOC), 202 on a buy limit away from the ask, 201 on a short sale
  • 399 on a Saturday order: held until Sunday 03:00 ET, not worked as IOC
  • Sunday 2026-08-30: market buy of 20 USD filled 0.00025289 BTC @ 79085.75, limit buy of 0.0002 BTC filled in two executions, both sold back

🤖 Generated with Claude Code

- interactivebrokers crypto symbol properties measured from IB's contract details, placed after the coinbase rows; the default crypto market stays coinbase, where the data lives
- CanSubmitOrder: listed pairs, market and limit only, no short sales, buy limit within 10 USD or 0.25% of the ask, buy market needs a price, venue open Sunday 03:00 to Friday 16:00 New York
- FIX model rejects crypto, fee 0.18% with a 1.75 USD minimum, leverage 1

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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