Tai.VenueAdapters.OkEx.CreateOrder (tai v0.0.75)
Create orders for the OkEx adapter
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() :: :insufficient_balance | :insufficient_position
Link to this type
response()
Specs
response() :: Tai.Orders.Responses.CreateAccepted.t()
Link to this section Functions
Link to this function
create_order(order, credentials)
Specs
create_order(order(), credentials()) :: {:ok, response()} | {:error, reason()}
Link to this function
send_to_venue(arg)
Link to this function