Why backtest market close

 

I have downloaded the complete tick data,  why can't I run a backtest?




 
Luu Tuan Trung:

I have downloaded the complete tick data,  why can't I run a backtest?

It's tough to say without knowing if, when, and how your code detects for the condition, market is open.
 
Luu Tuan Trung:

I have downloaded the complete tick data,  why can't I run a backtest?




You need a filter before sending orders to check if the session is active and the market is open. Try running a test during a day and time slot when you know for certain the market was open. In your screenshot, the order sending time is shown as 01:00; it is very likely that the market was closed at that time—specifically, during the break between sessions for XAUUSD.