create_execution_model#

API documentation for tradeexecutor.cli.bootstrap.create_execution_model Python function.

create_execution_model(routing_hint, tx_builder, confirmation_timeout, confirmation_block_count, max_slippage, min_gas_balance, mainnet_fork=False)[source]#

Set up the code transaction building logic.

Choose between Uniswap v2 and v3 trade routing.

Parameters: