DecideTradesProtocol2#

API documentation for tradeexecutor.strategy.strategy_module.DecideTradesProtocol2 Python class in Trading Strategy framework.

class DecideTradesProtocol2[source]#

Bases: Protocol

New decide_trades() function signature.

universe -> strategy_universe decide_trades() argument change.

See DecideTradesProtocol

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

__call__(timestamp, strategy_universe, state, pricing_model, cycle_debug_data)[source]#

The brain function to decide the trades on each

Parameters:
Return type:

List[TradeExecution]

__init__(*args, **kwargs)#