TradeExecutionType#

tradeexecutor.strategy.execution_model.TradeExecutionType class.

class TradeExecutionType[source]#

Bases: Enum

Default execution options.

What kind of trade instruction execution model the strategy does.

Give options for command line parameters and such.

TODO: Clean up unused options.

__init__()#

Attributes

dummy

Does not make any trades, just captures and logs them

uniswap_v2_hot_wallet

Server-side normal Ethereum private eky account

single_oracle_pooled

Trading using Enzyme Protocol pool, single oracle mode

multi_oracle_judged

Trading using oracle network, oracles form a consensus using a judge smart contract

backtest

Simulate execution using backtest data

dummy = 'dummy'#

Does not make any trades, just captures and logs them

uniswap_v2_hot_wallet = 'uniswap_v2_hot_wallet'#

Server-side normal Ethereum private eky account

single_oracle_pooled = 'single_oracle_pooled'#

Trading using Enzyme Protocol pool, single oracle mode

multi_oracle_judged = 'multi_oracle_judged'#

Trading using oracle network, oracles form a consensus using a judge smart contract

backtest = 'backtest'#

Simulate execution using backtest data