tai v0.0.28 Tai.Trading.Orders
Link to this section Summary
Link to this section Types
Link to this type
amend_error_reason()
amend_error_reason() :: {:invalid_status, status_was(), status_required()}
Link to this type
cancel_error_reason()
cancel_error_reason() :: {:invalid_status, status_was(), status_required()}
Link to this section Functions
Link to this function
amend(order, attrs)
amend(order(), amend_attrs()) :: {:ok, updated :: order()} | {:error, amend_error_reason()}
Link to this function
cancel(order)
cancel(order()) :: {:ok, updated :: order()} | {:error, cancel_error_reason()}