When backtesting, how are commissions per million rounded? Could this be a bug?
When backtesting, how are commissions per million rounded? Could this be a bug?
15 Feb 2015, 14:46
If I set Commission per Million = 9, and Quantity (Lots) = 0.1, the commission per order is 0.09, which is 0.18 round-trip. That works perfectly in cAlgo when backtesting.
However, if I set Commission per Million = 9, and Quantity (Lots) = 0.01, the commission per order should be 0.009, which is 0.018 round trip. However cAlgo seems to round 0.009 to 0.00, which is 0.00 round-trip. So I end up with all my trades without any commission, which vastly changes my scalping bot outcome.
My question is, how does the commission rounding really work? Does this depend on the broker or on cTrader/cAlgo platform? I'm using ICMarkets cTrader/cAlgo. What is the real commission I would have been charged? I suppose it's not 0...
PS: Take into account that this rounding issue does not only happen with very low commission (I invented 9 just for the example). It happens also with any other value such as 35 per Million.
modarkat
16 Feb 2015, 09:40
Where did you find broker with such commissions?
@modarkat