Blockchain.com · Schema
ExchangeOrder
Order / execution-report payload using FIX 4.2 field names. Returned in trading channel snapshots and updates.
CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| orderID | string | FIX 37 — unique order id assigned by the exchange. |
| clOrdID | string | FIX 11 — client-supplied order reference. |
| symbol | string | FIX 55 |
| side | string | FIX 54 |
| ordType | string | FIX 40 |
| orderQty | number | FIX 38 |
| leavesQty | number | FIX 151 — remaining quantity open for execution. |
| cumQty | number | FIX 14 — filled quantity so far. |
| avgPx | number | FIX 6 — volume-weighted average price of fills. |
| ordStatus | string | FIX 39 |
| timeInForce | string | FIX 59 |
| text | string | Free-form server status text. |
| execType | string | FIX 150 — "0" New, "4" Canceled, "8" Rejected, "C" Expired, "F" Partial fill, "A" Pending, "H" Trade Break, "I" Order Status. |
| execID | string | FIX 17 — unique id for this execution. |
| transactTime | string | FIX 60 |
| msgType | object | FIX 35 — "8" ExecutionReport, "9" OrderCancelRejected. |
| lastPx | number | FIX 31 — price of last fill. |
| lastShares | number | FIX 32 — quantity of last fill. |
| tradeId | string | FIX 1003/1004 — id of the trade / fill. |
| price | number | FIX 44 |
| stopPx | number | FIX 99 |
| expireDate | integer | FIX 432 — YYYYMMDD for GTD orders. |
| minQty | number | FIX 110 |
| fee | number |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-schema/com-exchange-order-schema.json",
"title": "ExchangeOrder",
"description": "Order / execution-report payload using FIX 4.2 field names. Returned in trading channel\nsnapshots and updates.\n",
"type": "object",
"properties": {
"orderID": {
"type": "string",
"description": "FIX 37 \u2014 unique order id assigned by the exchange."
},
"clOrdID": {
"type": "string",
"description": "FIX 11 \u2014 client-supplied order reference."
},
"symbol": {
"type": "string",
"description": "FIX 55"
},
"side": {
"type": "string",
"enum": [
"buy",
"sell"
],
"description": "FIX 54"
},
"ordType": {
"type": "string",
"enum": [
"market",
"limit",
"stop",
"stopLimit"
],
"description": "FIX 40"
},
"orderQty": {
"type": "number",
"description": "FIX 38"
},
"leavesQty": {
"type": "number",
"description": "FIX 151 \u2014 remaining quantity open for execution."
},
"cumQty": {
"type": "number",
"description": "FIX 14 \u2014 filled quantity so far."
},
"avgPx": {
"type": "number",
"description": "FIX 6 \u2014 volume-weighted average price of fills."
},
"ordStatus": {
"type": "string",
"enum": [
"pending",
"open",
"rejected",
"cancelled",
"filled",
"partial",
"expired"
],
"description": "FIX 39"
},
"timeInForce": {
"type": "string",
"enum": [
"GTC",
"GTD",
"IOC",
"FOK"
],
"description": "FIX 59"
},
"text": {
"type": "string",
"description": "Free-form server status text."
},
"execType": {
"type": "string",
"description": "FIX 150 \u2014 \"0\" New, \"4\" Canceled, \"8\" Rejected, \"C\" Expired, \"F\" Partial fill,\n\"A\" Pending, \"H\" Trade Break, \"I\" Order Status.\n"
},
"execID": {
"type": "string",
"description": "FIX 17 \u2014 unique id for this execution."
},
"transactTime": {
"type": "string",
"description": "FIX 60"
},
"msgType": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"description": "FIX 35 \u2014 \"8\" ExecutionReport, \"9\" OrderCancelRejected."
},
"lastPx": {
"type": "number",
"description": "FIX 31 \u2014 price of last fill."
},
"lastShares": {
"type": "number",
"description": "FIX 32 \u2014 quantity of last fill."
},
"tradeId": {
"type": "string",
"description": "FIX 1003/1004 \u2014 id of the trade / fill."
},
"price": {
"type": "number",
"description": "FIX 44"
},
"stopPx": {
"type": "number",
"description": "FIX 99"
},
"expireDate": {
"type": "integer",
"description": "FIX 432 \u2014 YYYYMMDD for GTD orders."
},
"minQty": {
"type": "number",
"description": "FIX 110"
},
"fee": {
"type": "number"
}
}
}