I was trading ZC futures via automated strategy on both Sim101 over a week and then my IB account a week after. I noticed that when I trade using my IB account, the entry and exit prices displayed were the actual futures price divided by 100 (see screenshot attached). This does not happen when I trade using the Sim101 account and also does not happen with other instruments such as currency and gold futures.
(1) How do I fix the above issue?
Another issue I have is with StopLoss. If you look at the last 4 trades on the screenshot, you will notice that the StopLoss orders were triggered almost immediately after my Sell Short entries. I made sure that CalculateOnBarClose = True and my stop loss configuration was simply SetStopLoss("", CalculationMode.Ticks, 50, true). If you look at the exit prices, it is obvious that stop loss was triggered very close to the entry price and nowhere near the 50 ticks that I have set.
(2) What could have caused the stop loss bug?
Appreciate your assistance.
Cheers,
Richard K
Comment