Skip to content

Interactive brokers hard coded into Nautilus itself #1273

Answered by cjdsellers
paulhwatson asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @paulhwatson

Thanks for your interest and I'm glad to hear about this progress you're making!

So this code is a temporary work around due to the fact that Interactive Brokers can handle many venues, so is not a straight forward integration like for instance Binance, where the venue BINANCE will match the account, instrument provider and client IDs. Interactive Brokers can also require some routing setup.

If you look through Portfolio and follow the references to self._venue you'll see its referred to when fetching accounts, instruments, mainly with code like this:

account = self._cache.account_for_venue(self._venue or instrument.id.venue)

I've had a quick look and it seems that IG Inde…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rsmb7z
Comment options

rsmb7z Oct 12, 2023
Collaborator

Answer selected by cjdsellers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants