ezyquant_execution.context.ExecuteContext.cancel_orders#
- ExecuteContext.cancel_orders(condition: ~typing.Callable[[~ezyquant_execution.entity.EquityOrder], bool] = <function ExecuteContext.<lambda>>) List[CancelOrder] #
Cancel orders.
- Parameters:
condition (Callable[[dict], bool]) – condition function
- Returns:
cancel order result
- Return type:
dict