create_uniswap_v2_adapter#
API documentation for tradeexecutor.ethereum.ethereum_protocol_adapters.create_uniswap_v2_adapter Python function.
- create_uniswap_v2_adapter(web3, strategy_universe, routing_id)[source]#
- Parameters:
web3 (Web3) –
strategy_universe (TradingStrategyUniverse) –
routing_id (ProtocolRoutingId) –
- Return type:
ProtocolRoutingConfig