I have also implemented the API in C++. Technically the IB API is no challenge, in fact it was the easiest broker API that I've implemented so far. The problem is the very rudimentary information that IB delivers through the API, and that you have to find out many things by trial and error, for instance which order options do work and which do not work for various assets. This would be valuable information, but it is not language dependent.
Hi Volpunter, I'm consulting expert opinions about this matter: Is it worth develop trading algos in IB-API when you have Ninjatrader ? I've read some interesting post about IB-API, certainly important to me. I'm just a normal trader who can develop and backtest several trading ideas in C# within Ninjatrader. That platform is a great product, no doubt, and since it connects directly to IB-API, it seems that there shouldn't be much latency, however it's a third-party software with routines, server-connections...etc which can have some delay or errors eventually, so having said that: 1. If you have a non-HFT algo, would you develop and work it from IB-API directly or would you use Ninjatrader ? 2. What advantages would working with IB-API ? ( performance, flexibility... ) I'm not trying to invent the wheel here, just trying to get the best for my trading in an increasingly and insanely fast markets driven by HFT, but certainly developing by your own implies a lot of time and money. Thanks in advance
After the big IB quote fee change (this week) some of the quotes I received through the API stopped (eg ES, NQ, YM, 6E) while others are still arriving here correctly (eg CL, PL). Before everything was fine with my program. In the Mosaic view I can see all the quotes refreshing (eg ES, NQ, YM, 6E) that in my app won't update. Do you have any ideas what may have happened? Changes in symbols? If yes, which? Thanks
Along with the Mosaic format, you might go with an original TWS session. There may be telltales there that can aid you before you go to Manage Data Subscriptions and start feeding money into it. It would just take a second.
This is what happened, message from IB: What is changing and why? The service being terminated for your account U**** is the U.S Securities & Futures Value Bundle for Non-Professionals.1 This service is being terminated due to a recent regulatory initiative requiring that U.S. stock quote feeds provide the consolidated National Best Bid & Offer (NBBO) from all market centers trading National Market System stocks (i.e., NYSE, AMEX and NASDAQ). What replacement services will be made available and at what cost? The replacement services are intended to accommodate those whose use of data is infrequent, and are therefore seeking to minimize the cost of data by paying on a per-use basis, as well as the more frequent users, whose cost is best minimized by paying a flat monthly fee. Services are as follows: U.S. Securities Snapshot &Futures Value Bundle for Non-Professionals - identical to the bundled service being terminated except that the streaming BATS exchange quotes will be replaced by a "snapshot quote". Here, the user elects when to update the quote and refresh the display with the current NBBO inclusive of the NYSE, AMEX and NASDAQ exchanges. The monthly fee for this service is USD 10 (waived if commissions of at least USD 30 are generated during the month) plus USD 0.01 for each snapshot requested. Note that the snapshot portion of the fee is not subject to waiver, regardless of commissions, but is capped at USD 1.50 per month by exchange.2 NYSE (Network A/CTA), AMEX (Network B/CTA) and/or NASDAQ (Network C/UTP) - clients may elect to subscribe to live streaming level 1 quote feeds from the NYSE, AMEX and/or NASDAQ at a cost of USD 1.50 each per month (not subject to waiver). If subscribed to the U.S. Securities Snapshot &Futures Value Bundle for Non-Professionals service, any of the individual exchange feeds also selected would serve to provide a live feed in lieu of the snapshot quote for that exchange. If not subscribed to the U.S. Securities Snapshot &Futures Value Bundle for Non-Professionals service, live quotes will only be available for stocks listed on the individual exchange feeds selected and delayed quotes, rather than snapshot quotes, will be provided for stocks listed on the other exchanges. Clients seeking live quote for all NMS stocks will need to subscribe to each of the NYSE, AMEX and NASDAQ services at a combined monthly cost of USD 4.50.
Obviously if your subscription changed to manual snapshots the API can't get streaming quotes. I had to upgrade a couple of subs to get my API streams back.
Interesting article regarding using the latest Python TWS API - https://scalptrader.com/getting-started-with-the-interactive-brokers-api-part-1/