tai v0.0.42 Tai.Trading.Orders.Amend

Link to this section Summary

Link to this section Types

Link to this type

attrs()

attrs() :: %{optional(:price) => Decimal.t(), optional(:qty) => Decimal.t()}
Link to this type

response()

response() ::
  {:ok, updated :: order()}
  | {:error, {:invalid_status, was :: status(), status_required(), action()}}
Link to this type

status_required()

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

Link to this section Functions

Link to this function

amend(order, attrs, provider \\ Provider)

Link to this function

send_amend_order(order, attrs)

See Tai.Venue.amend_order/2.