get_backtest_routing_model#
API documentation for tradeexecutor.ethereum.routing_data.get_backtest_routing_model Python function.
- get_backtest_routing_model(routing_type, reserve_currency)[source]#
Get routing options for backtests.
At the moment, just create a real router and copy parameters from there.
- Parameters:
routing_type (TradeRouting) –
reserve_currency (ReserveCurrency) –
- Return type:
tradeexecutor.backtest.backtest_routing.BacktestRoutingModel | tradeexecutor.backtest.backtest_routing.BacktestRoutingIgnoredModel