Sunday, June 30, 2019

programming - Is the Interactive Brokers API suitable for hft?


By HFT here I mean anything with holding period less than 5 to 10 minutes.


Any empirical/anecdotal evidence of using it successfully on even higher frequencies?



Answer



Holding period and trade frequency are two different things. If you have a high trade frequency, the name of the game is negotiating lower commissions. That being said, the TWS API gives you the same quality feed as you get using TWS itself.



From Article on HFT Provided by Dirk Eddelbuettel in this question about HFT:



High-frequency trading (HFT) is a subset of algorithmic trading where a large number of orders (which are usually fairly small in size) are sent into the market at high speed, with round-trip execution times measured in microseconds (Brogaard, 2010). Programs running on high-speed computers analyse massive amounts of market data, using sophisticated algorithms to exploit trading opportunities that may open up for milliseconds or seconds. Participants are constantly taking advantage of very small price imbalances; by doing that at a high rate of recurrence, they are able to generate sizeable profits. Typically, a high frequency trader would not hold a position open for more than a few seconds. Empirical evidence reveals that the average U.S. stock is held for 22 seconds



Updates and orders with the TWS API occur on the order of 10s to 100s of milliseconds, as far as I can tell, which would disqualify it for use in the regime described in the article. (This is just what I have measured on my own computer on my retail Internet connection.)


Honestly I would be surprised if anyone could do HFT with any retail product. Sounds impossible.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...