run_backtest#

run_backtest(setup, client=None)[source]#

Run a strategy backtest.

Loads strategy file, construct trading universe is real data downloaded with Trading Strategy client.

Returns

Tuple(the final state of the backtest, trading universe, debug dump)

Parameters
Return type

Tuple[State, TradingStrategyUniverse, dict]