Tai.VenueAdapters.Bitmex.CreateOrder (tai v0.0.75)

Create orders for the Bitmex adapter

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
  | :overloaded
  | :insufficient_balance
  | {:nonce_not_increasing, msg :: String.t()}
  | {:unhandled, term()}

Specs

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(credentials, params)

See ExBitmex.Rest.Orders.create/2.

Link to this function

to_venue_credentials(credentials)

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