get_routing_model#
API documentation for tradeexecutor.ethereum.routing_data.get_routing_model Python function.
- get_routing_model(execution_context, routing_type, reserve_currency)[source]#
- Create trade routing model for the strategy. - Parameters:
- execution_model – Either backtest or live 
- routing_type (TradeRouting) – One of the default routing options, as definedin backtest notebook or strategy module 
- reserve_currency (ReserveCurrency) – One of the default reserve currency options, as definedin backtest notebook or strategy module 
- execution_context (ExecutionContext) – 
 
- Return type: