Orders not being transmitted.

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.

Posted in Tips | 6 Comments

MSFT and CSCO

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.

Posted in Uncategorized | Leave a comment

Bracket Trader has stopped working…

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.

Posted in HowTo, Tips | 10 Comments

Another possible problem with European users

If you are getting a type mismatch error when you run BT, you might try changing your decimal point to period instead of comma.

In Windows
– go to Control Panel
– go to Clock, Language, Region
– go to Region and Language
– go to Change the date, time and number format
– go to Additional Settings
– in the Decimal symbol – change comma to period

Posted in Tips | 1 Comment

Reset to Default Symbols to get data using new symbol format

The latest API requires the currency information to be able to process the symbols. Previous versions of BT just leave out the currency information. With the new API, if the currency information is blank, it defaults automatically to USD, which causes problems with European and Asian exchanges. The latest version of BT (2013r13 and up) contains modifications to the symbol format sent to IB. You still have to update manually by clicking Reset to Default Symbols in the Tools menu to use the new format.

Posted in Tips | 4 Comments

EOE Traders, etc.

The latest BT (2013r13) was modified to allow trading mini contracts for the same symbol. The included symbols now default to the mini contracts. To trade the full contracts, you need to go to the Add/Delete Symbols option in the Tools menu, delete the default symbol by double-clicking it, then re-add the symbol with the parameters for the full contract.

For EOE, the parameters for the full contract is as follows:

EOE

Posted in Uncategorized | Leave a comment

On API and TWS updates

IB is always updating their TWS or API, which is both a good thing and a bad thing. The good part is that bugs will be fixed, new features will be added and functions will be more streamlined. The bad thing is that since we are used to the “bugs” or idiosyncrasies in the old versions and have workarounds for them, any updates will break the current versions. The latest, most noticeable change (since API 9.69) is that the API is now installed using an msi file into a separate “TWS API” folder, not under the old c:/jts folder. A lot of time and effort has to be spent to keep up with IB’s updates so we can use the new “features” which are required for specific situations.

Posted in Uncategorized | Leave a comment

Out of town

My apologies. I’m right now in a country where it’s hard to get a decent internet connection, so I won’t be able to answer my emails and forum questions right away. I’ll be back on Monday.

Posted in Uncategorized | Leave a comment

About canceling an order when it is about to be filled..

This is from one of the posts in the following thread – “It’s not a “good practice” to cancel a limit order very close to the fill price, which could cause all kinds of unexpected behaviors …”

http://finance.groups.yahoo.com/group/TWSAPI/message/29045

This occurs even when the bracket exits are sent out at the same time as the entry order.

Posted in Uncategorized | 4 Comments

Real time commissions with live trading

There were some users having problems getting the real time commissions from IB in the new release. One user reported back having solved the problem by updating the TWS to the latest version. So, if you are having problems, update your TWS to the latest version, which is “Build 933.5 Nov 26, 2012” at the moment.

Posted in Uncategorized | 7 Comments