TradeRouting#
tradeexecutor.strategy.default_routing_options.TradeRouting class.
- class TradeRouting[source]#
Bases:
Enum
What trade routing should the strategy use.
These values can be given to trade_routing variable in a strategy.
- __init__()#
Attributes
Two or three-legged trades on PancakeSwap.
Two or three legged trades on Quickswap - Open positions with USDC quote token.
Use user supplied routing model
- pancakeswap_basic = 'quickswap_basic'#
Two or three-legged trades on PancakeSwap. - Open positions with BUSD quote token. - Open positions with WBNB quote token.
- quickswap_basic = 'quickswap_basic'#
Two or three legged trades on Quickswap - Open positions with USDC quote token. - Open positions with WMATIC quote token.
- user_supplied_routing_model = 'user_supplied_routing_model'#
Use user supplied routing model