strategy#

API documentation for tradeexecutor.strategy Python module in Trading Strategy.

Module description#

Strategy core - the internal state data structures.

This is the code of the strategy execution engine. We define how the data structures look like and what actions are possible.

All data structures are based on dataclass DLS and dataclasses_json serialisation.

The main tradeexecutor.state.State class serialises the whole strategy execution state in one go and passes it to the web client as one JSON download.

Submodules#

tradeexecutor.strategy.chart

Chart subsystem.

tradeexecutor.strategy.default_routing_options

Default routing options for trading strategies.

tradeexecutor.strategy.engine_version

Execution engine versioning.

tradeexecutor.strategy.freqtrade

Freqtrade integration for trade-executor.

tradeexecutor.strategy.pandas_trader

Trading Strategy internal strategy types using Pandas data and decide_trades functino.

tradeexecutor.strategy.qstrader

QSTrader portfolio construction model based strategy types.

tradeexecutor.strategy.reserve_currency

Reserve currency options for strategies.

tradeexecutor.strategy.strategy_cycle_trigger

Strategy cycle trigger.

tradeexecutor.strategy.strategy_type

Declarate what kind of strategy types our strategy loader and backtesting framework supports.

tradeexecutor.strategy.tag

Tagging live strategies.

tradeexecutor.strategy.weighting

Weighting based portfolio manipulation.