StrategyFactory#

tradeexecutor.strategy.factory.StrategyFactory Python class in Trading Strategy framework.

class StrategyFactory[source]#

Bases: Protocol

A callable that creates a new strategy when loaded from an external script.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

__call__(*, execution_model, sync_model, pricing_model_factory, valuation_model_factory, client, timed_task_context_manager, approval_model, routing_model=None, **kwargs)[source]#
Parameters:
Returns:

Return type:

StrategyExecutionDescription

__init__(*args, **kwargs)#