If you accidentally installed the 9.71 or 9.72 API in your system, you’ll find out that it breaks BT. And you can’t go back to the 9.70 API no matter how many times you uninstall and reinstall the API’s.
Here are the steps to COMPLETELY uninstall the current API so you will be able to reinstall the API version which BT uses.
1. uninstall the “TWS API” program from the Control Panel.
2. manually delete the “C:\TWS API\” folder if it is still there
3. manually delete the C:\Windows\SysWOW64\TwsClientSocket.dll” file
4. reinstall the version of API you want.
This video shows Bracket Trader installation on a fresh copy of Windows 7 (no other programs installed).
The procedure is the same as described in the original HowTo article – http://www.bracket-trader.com/blog/?p=72
“Official” way of installing TWS (Thanks to Lowell C. for this info)
To: All Third-party vendors that connect to IB TWS via the API
As you are most likely already aware, CME is changing their market data fee structure which will dramatically increase market data fees for “black-box” users of market data. This affects market data on CME, GLOBEX, NYMEX, and ECBOT.
To avoid these fees, third-party API applications will be required to identify themselves as such to TWS with a new authentication procedure. Furthermore, when making requests for CME market data, the application must identify the purpose of the request as “black box” (i.e. for trading analysis) or “display only.”
This is just a heads-up of what’s coming. More information will be sent in the upcoming days and weeks.
If you are still using an old version of TWS, you need to upgrade to version 940 or above to use the API.
You can download the upgrade directly from the IB website or you can get a stable upgrade here – 941.2b
When you are installing TWS, you will be asked if you want to bypass the precautions for orders. You should answer yes. If you answered no, your orders will not be transmitted.
You can still fix this by going to the Configure menu in TWS, click API, click Precautions, then check everything.
If you are trading these 2 symbols, you need to set the exchange to ARCA instead of SMART to be able to get data into BT. Thanks to Chuck G. for this finding.
If you encounter this message while running BT, it could be one of 2 problems. The first one is the DEP problem – discussed here – so I won’t discuss it anymore.
The second problem is the presence of old API versions and components lingering in your system. IB made several upgrades to their API and when you install a new one, the old versions are left behind. When an updated BT runs, it will still connect to the old components. BT does not package it’s own API (like some other programs) but depends on the original API’s from IB. The way to solve this is to uninstall the API through the Control Panel. The program should be labelled TWS_API. You can also check your C:\ folder to see if there is something like an IB_API_968 folder. If there is, go inside the folder and click unwise.exe to uninstall the program. You might also uninstall the Visual C++ 2005 redistributable through the Control Panel. When you install back the programs – get them from the BT download site – then install the programs in sequence.