Good work!
Just to clarify HFT with IB data is not quite possible because this is delta feed updating quote board with sample rate of 300 ms or less so I would not use HFT term in this context.
The introduction for beginners could be a little bit confusing;
Beginner should only know that communication/log in to IB servers is handled by TWS or Gateway and any custom application communicates with TWS or Gateway only.
IB API is description of interface (type of messages being exchanged) in the form of functions with parameters;
Connection initiates TCP/IP socket communication between custom app and TWS or Gateway(host, port etc) to sent strings back and forth between server (TWS/Gateway) and client (custom IB API based app)
The underlying protocol is text message exchange (strings with null delimited fields) using sockets between TWS/Gateway and custom apps and IB API based app takes care of encoding and decoding those text messages into usable information on both ends of the socket end points.
Just to clarify HFT with IB data is not quite possible because this is delta feed updating quote board with sample rate of 300 ms or less so I would not use HFT term in this context.
The introduction for beginners could be a little bit confusing;
Beginner should only know that communication/log in to IB servers is handled by TWS or Gateway and any custom application communicates with TWS or Gateway only.
IB API is description of interface (type of messages being exchanged) in the form of functions with parameters;
Connection initiates TCP/IP socket communication between custom app and TWS or Gateway(host, port etc) to sent strings back and forth between server (TWS/Gateway) and client (custom IB API based app)
The underlying protocol is text message exchange (strings with null delimited fields) using sockets between TWS/Gateway and custom apps and IB API based app takes care of encoding and decoding those text messages into usable information on both ends of the socket end points.