get_routing_model#

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:

RoutingModel