UniswapV2RoutingInstructions#

tradeexecutor.ethereum.uniswap_v2_execution_v0.UniswapV2RoutingInstructions Python class in Trading Strategy framework.

class UniswapV2RoutingInstructions[source]#

Bases: object

Helper class to router Uniswap trades.

  • Define allowed routes to use

  • Define routing for three way trades

__init__(routing_table)[source]#
Parameters:

routing_table (dict) – Exchange factory address -> router address data

Methods

__init__(routing_table)

param routing_table:

Exchange factory address -> router address data

__init__(routing_table)[source]#
Parameters:

routing_table (dict) – Exchange factory address -> router address data