Binance.Structs.OrderResponse (binance v2.0.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")
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"
Types
Link to this type
side()
@type side() :: String.t()
side: "BUY" | "SELL"
Link to this type
status()
@type status() :: String.t()
status: "NEW" | "PARTIALLY_FILLED" | "FILLED" | "CANCELED" | "PENDING_CANCEL" | "REJECTED" | "EXPIRED"
@type 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()
@type type() :: String.t()
type: "LIMIT" | "MARKET" | "STOP" | "STOP_MARKET" | "TAKE_PROFIT" | "TAKE_PROFIT_MARKET" | "LIMIT_MAKER"
Functions
Link to this function