Tai.VenueAdapters.OkEx.CancelOrder (tai v0.0.75)
Sends a cancel order request to OkEx.
OkEx uses different API endpoints for each of their product types: futures, swap & spot. API responses across these products are inconsistent.
Link to this section Summary
Link to this section Types
Link to this type
credentials()
Specs
credentials() :: Tai.Venues.Adapter.credentials()
Link to this type
order()
Specs
order() :: Tai.Orders.Order.t()
Link to this type
reason()
Specs
reason() :: :timeout | :connect_timeout | :not_found
Link to this type
response()
Specs
response() :: Tai.Orders.Responses.CancelAccepted.t()
Link to this section Functions
Link to this function
cancel_order(order, credentials)
Specs
cancel_order(order(), credentials()) :: {:ok, response()} | {:error, reason()}
Link to this function
send_to_venue(arg)
Link to this function