backtest#

backtest(id=<typer.models.OptionInfo object>, name=<typer.models.OptionInfo object>, strategy_file=<typer.models.OptionInfo object>, trading_strategy_api_key=<typer.models.OptionInfo object>, log_level=<typer.models.OptionInfo object>, unit_testing=<typer.models.OptionInfo object>, backtest_result=<typer.models.OptionInfo object>, cache_path=<typer.models.OptionInfo object>, notebook_report=<typer.models.OptionInfo object>, html_report=<typer.models.OptionInfo object>)[source]#

Backtest a given strategy module.

  • Run a backtest on a strategy module.

  • Writes the resulting state file report, as it is being used by the webhook server to read backtest results

  • Writes the resulting Jupyter Notebook report, as it is being used by the webhook server to display backtest results

Parameters: