Tai.Trading.Orders.Cancel (tai v0.0.63)
Link to this section Summary
Link to this section Types
Link to this type
action()
Specs
action() :: Tai.Trading.OrderStore.Action.t()
Link to this type
error_reason()
Specs
error_reason() :: {:invalid_status, was :: status(), status_required(), action()}
Link to this type
order()
Specs
order() :: Tai.Trading.Order.t()
Link to this type
response()
Specs
response() :: {:ok, updated :: order()} | {:error, error_reason()}
Link to this type
status()
Specs
status() :: Tai.Trading.Order.status()
Link to this type
status_required()
Specs
Link to this section Functions
Link to this function
cancel(order, provider \\ Provider)
Specs
Link to this function