StrategyExecutionUniverse#

tradeexecutor.strategy.universe_model.StrategyExecutionUniverse class.

class StrategyExecutionUniverse[source]#

Bases: object

Represents whatever data a strategy needs to have in order to make trading decisions.

Any strategy specific subclass will handle candle/liquidity datasets.

__init__(reserve_assets)#
Parameters

reserve_assets (List[AssetIdentifier]) –

Return type

None

Methods

__init__(reserve_assets)

Attributes

reserve_assets

The list of reserve assets used in this strategy.

reserve_assets: List[AssetIdentifier]#

The list of reserve assets used in this strategy.

Currently we support only one reserve asset per strategy, though in the future there can be several.

Usually return the list of a BUSD/USDC/similar stablecoin.

__init__(reserve_assets)#
Parameters

reserve_assets (List[AssetIdentifier]) –

Return type

None