4 ms·
On a similar note, a while back I wrote a bi-directional, fan-out adapter between the Interactive Brokers API and ZeroMQ. https://github.com/brotchie/ib-zmq ht
by brotchie 14y ago
On a similar note, a while back I wrote a bi-directional, fan-out adapter between the Interactive Brokers API and ZeroMQ.
https://github.com/brotchie/ib-zmq https://github.com/brotchie/ib-zmq
The annoying thing about the IB API is that there's no framing; that is, you can't simply consume the message types you are interested in without parsing the entirety of every variable length messages.
ib-zmq resolves this annoyance by parsing incoming messages and placing them individually into ZeroMQ message frames.
I also wrote an alternative to the IBrokers R package with a much nicer interface using this ZeroMQ adapter. It parses most IB API messages, but hasn't been used in production yet.
https://github.com/brotchie/r-zerotws https://github.com/brotchie/r-zerotws