modular_trader.framework.order_execution.base ============================================= .. py:module:: modular_trader.framework.order_execution.base Classes ------- .. autoapisummary:: modular_trader.framework.order_execution.base.BaseOrderExecution Module Contents --------------- .. py:class:: BaseOrderExecution Bases: :py:obj:`abc.ABC` .. autoapi-inheritance-diagram:: modular_trader.framework.order_execution.base.BaseOrderExecution :parts: 1 :private-bases: Base class for order execution strategies. Note that run() is called by __call__() and should not be called directly. .. py:method:: __call__(context: modular_trader.context.Context, allocations: modular_trader.allocation.AllocationCollection) -> None .. py:method:: run(context: modular_trader.context.Context, allocations: modular_trader.allocation.AllocationCollection) -> None :abstractmethod: Execute orders from the given allocations. This method is called by __call__() and should not be called directly.