Interactive brokers hard coded into Nautilus itself #1273
-
Hi there. New to this. I have nearly completed an adapter for IG Index but I have a couple of questions.
Am I missing something here. Should I be putting a platform specific piece of code into TradingNodeBuilder as well? Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 If you look through account = self._cache.account_for_venue(self._venue or instrument.id.venue) I've had a quick look and it seems that IG Index can also handle multiple venues, so I would suggest you also have to call Please let me know if any of this doesn't make sense, also @rsmb7z wrote the Interactive Brokers adapater and may have more specific information regarding this too 🙏 . |
Beta Was this translation helpful? Give feedback.
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 toself._venue
you'll see its referred to when fetching accounts, instruments, mainly with code like this:I've had a quick look and it seems that IG Inde…