AssetManagementMode#

tradeexecutor.strategy.execution_model.AssetManagementMode Python class in Trading Strategy framework.

class AssetManagementMode[source]#

Bases: Enum

Default execution options.

What kind of trade instruction execution model the strategy does.

Give options for command line parameters and such.

__init__()#

Methods

is_live_trading()

Is this a live trading setup.

Attributes

dummy

Does not make any trades, just captures and logs them

hot_wallet

Server-side normal Ethereum private eky account

enzyme

Trading using Enzyme Protocol pool, single oracle mode

backtest

Simulate execution using backtest data

dummy = 'dummy'#

Does not make any trades, just captures and logs them

hot_wallet = 'hot_wallet'#

Server-side normal Ethereum private eky account

enzyme = 'enzyme'#

Trading using Enzyme Protocol pool, single oracle mode

backtest = 'backtest'#

Simulate execution using backtest data

  • Does not make any real trades

  • Does not connect to any network or blockchain

is_live_trading()[source]#

Is this a live trading setup.

Are we executing against a blockchain (including test chains).

Return type:

bool