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#
Strategy cycle definitions. |
|
Default routing options for trading strategies. |
|
Dust amounts and epsilon rounding. |
|
Execution engine versioning. |
|
Execution modes. |
|
Lendindg protocol leveraged. |
|
Helpers for outputting strategy execution information to Python logging and Discord. |
|
Trading Strategy internal strategy types using Pandas data and decide_trades functino. |
|
Strategy input parameters handlding. |
|
QSTrader portfolio construction model based strategy types. |
|
Reserve currency options for strategies. |
|
Strategy cycle trigger. |
|
Declarate what kind of strategy types our strategy loader and backtesting framework supports. |
|
Tagging live strategies. |
|
Trading Strategy oracle data integration. |
|
Construct the trading universe for the strategy. |
|
Weighting based portfolio manipulation. |