DecideTradesProtocol4#
API documentation for tradeexecutor.strategy.strategy_module.DecideTradesProtocol4 Python class in Trading Strategy framework.
- class DecideTradesProtocol4[source]#
Bases:
Protocol
New decide_trades() function signature.
For trading_strategy_engine_version == “0.5”
Use
tradeexecutor.strategy.pandas_trader.strategy_input.StrategyInput
to define the inputs of a decision cycle
See
DecideTradesProtocol
for more information.- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)- __call__(input)[source]#
The brain function to decide the trades on each
- Parameters:
input (StrategyInput) –
- Return type:
- __init__(*args, **kwargs)#