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()

Specs

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

Specs

reason() :: :timeout | :connect_timeout | :not_found

Specs

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

to_venue_credentials(credentials)

See Tai.VenueAdapters.OkEx.Credentials.from/1.