The IB Api requires a bit of setup before it becomes operational.

I had to modify a few settings in the API before I was able to do transactions with included TradeTest script. I am attaching screenshots to help anyone else who may find this helpful. I also changed the Lot Amounts to 25,000 in AssetsFix trying to imitate what was in AssetsIB. This was required as IB was treating orders below this as odd lots and was cancelling those orders.

However I found that strategy Z12 was not doing any transaction for over two weeks of continuous running. I thought this maybe because the strategy is not in the market all the time. But with recent huge changes in FX markets due to Brexit, I feared something else was wrong.

To be compliant with license, I bought an S license and ran it on another machine with an FXCM demo account which started producing transactions within 12 hours.

Trying to debug I compared *.ini files and AssetsFix.csv.

I did not find anything different in *.ini files except for AssetList parameter which I had modified on the IB machine.

NFA = 0
FXOnly = 0
MMax = 100
Phantom = 1
Hedge = 5
Weekend = 2
Verbose = 2
BrokerPatch = 0
Preload = 0
AssetList = "AssetsIB";
Cancel = 0

In Assets fix, most things were routine except
a) I had removed a lot of Assets from AssetsFix, this was required as IB API was throwing an error providing Historical data for more than 30 seconds. I had overridden this value to 120 seconds in IB's API configuration (screenshot attached) but despite that IB gave a throttling error. For a large well reputed broker, I found IB very stingy in providing market data. So my list was down to just the 6 FX majors.

b) I found that LotAmount was a much higher figure in IB configuration (25,000 instead of 1,000). IB demo account is 1,000,000 of paper money, so I assumed that % of portfolio might still be fairly reasonable and may allow for transactions to go through.

- Is that not the case ? Any other reason that Zorro may not be doing transactions on IB ?

I will really appreciate your time in responding to this. Thank you.

Attached Files API Settings.PNGAPI Settings2.PNG