Tai.Trading.Orders.Cancel (tai v0.0.60)

Link to this section Summary

Link to this section Types

Specs

Link to this type

error_reason()

Specs

error_reason() ::
  {:invalid_status, was :: status(), status_required(), action()}

Specs

order() :: Tai.Trading.Order.t()

Specs

response() :: {:ok, updated :: order()} | {:error, error_reason()}

Specs

status() :: Tai.Trading.Order.status()
Link to this type

status_required()

Specs

status_required() :: status() | [status()]

Link to this section Functions

Link to this function

cancel(order, provider \\ Provider)

Specs

cancel(order(), module()) :: response()
Link to this function

send_to_venue(order)

See Tai.Venues.Client.cancel_order/1.