Backtesting in Strategy tester

 

The back-testing in strategy tester closes any open trades at the end of the test period.


Is there a way that we can change this setting or do something in coding to achieve that the tester does not close the open trades at the end of testing period ? 


 
Satyam Shivam:

The back-testing in strategy tester closes any open trades at the end of the test period.


Is there a way that we can change this setting or do something in coding to achieve that the tester does not close the open trades at the end of testing period ? 


add a code to stop ordering on specific date before backtest end

Reason: