Binance.Structs.OrderResponse (binance v2.0.0-beta.1)
Response tructure for POST /api/v3/order endpoint. All prices and quantities are string representation of floats with 8 decimals (eg: "orig_qty": "10.00000000")
Link to this section Summary
Types
side: "BUY" | "SELL"
status: "NEW" | "PARTIALLY_FILLED" | "FILLED" | "CANCELED" | "PENDING_CANCEL" | "REJECTED" | "EXPIRED"
type: "LIMIT" | "MARKET" | "STOP" | "STOP_MARKET" | "TAKE_PROFIT" | "TAKE_PROFIT_MARKET" | "LIMIT_MAKER"
Link to this section Types
Link to this type
side()
Specs
side() :: String.t()
side: "BUY" | "SELL"
Link to this type
status()
Specs
status() :: String.t()
status: "NEW" | "PARTIALLY_FILLED" | "FILLED" | "CANCELED" | "PENDING_CANCEL" | "REJECTED" | "EXPIRED"
Specs
t() :: %Binance.Structs.OrderResponse{ client_order_id: String.t(), executed_qty: String.t(), order_id: non_neg_integer(), orig_qty: String.t(), price: String.t(), side: side(), status: status(), symbol: String.t(), time_in_force: non_neg_integer(), transact_time: non_neg_integer(), type: type() }
Link to this type
type()
Specs
type() :: String.t()
type: "LIMIT" | "MARKET" | "STOP" | "STOP_MARKET" | "TAKE_PROFIT" | "TAKE_PROFIT_MARKET" | "LIMIT_MAKER"
Link to this section Functions
Link to this function