CreateChartsProtocol#
API documentation for tradeexecutor.strategy.strategy_module.CreateChartsProtocol Python class in Trading Strategy framework.
- class CreateChartsProtocol[source]#
Bases:
ProtocolA callback to create ChartsRegistry for the strategy.
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)- __call__(timestamp, parameters, strategy_universe, execution_context)[source]#
Create chart registry for the strategy.
- Parameters:
timestamp (datetime.datetime | None) – Current timestamp for the trading cycle. Can be None during backtest initialisation.
parameters (StrategyParameters) –
strategy_universe (TradingStrategyUniverse) –
execution_context (ExecutionContext) –
- Return type:
- __init__(*args, **kwargs)#