I try to backtest my stratgey with intrabar granularity by adding a 1 Tick secondary bars object to my 5 minute base TF. My sell stop entry order was sent at bar close (of the base TF) 1 tick below the low of the bar.I did this error message:
When I checked the value for the secondary 1 Tick TF in BIP0 with Closes[1][0], it corresponded to the value for the FTOB of the next bar in base TF. Is this expected?
I ask, because I was under the impression that BIP 0 always closes before BIP 1 on the same time stamp, (since BIP0 is called before BIP1) ? If my secondary bars object would have been the 1 minute TF, then Closes[1][0] in BIP0 wouldn't match the open of the next bar, would it?
Is BIP1 treated the same way in Backtest and Market Replay with COBC?
Regards,
poseidon_sthlm

Comment