Binance · Schema

AccountTrade

CryptocurrencyExchangeTradingBlockchainFinanceDeFiMarket Data

Properties

Name Type Description
symbol string Trading pair symbol.
id integer Trade ID.
orderId integer Order ID.
orderListId integer Order list ID.
price string Trade price.
qty string Trade quantity.
quoteQty string Quote quantity.
commission string Commission paid.
commissionAsset string Asset used for commission.
time integer Trade time in milliseconds.
isBuyer boolean Whether the trade was a buy.
isMaker boolean Whether the trade was a maker.
isBestMatch boolean Whether this was the best price match.
View JSON Schema on GitHub

JSON Schema

binance-accounttrade-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountTrade",
  "title": "AccountTrade",
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol."
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Trade ID."
    },
    "orderId": {
      "type": "integer",
      "format": "int64",
      "description": "Order ID."
    },
    "orderListId": {
      "type": "integer",
      "format": "int64",
      "description": "Order list ID."
    },
    "price": {
      "type": "string",
      "description": "Trade price."
    },
    "qty": {
      "type": "string",
      "description": "Trade quantity."
    },
    "quoteQty": {
      "type": "string",
      "description": "Quote quantity."
    },
    "commission": {
      "type": "string",
      "description": "Commission paid."
    },
    "commissionAsset": {
      "type": "string",
      "description": "Asset used for commission."
    },
    "time": {
      "type": "integer",
      "format": "int64",
      "description": "Trade time in milliseconds."
    },
    "isBuyer": {
      "type": "boolean",
      "description": "Whether the trade was a buy."
    },
    "isMaker": {
      "type": "boolean",
      "description": "Whether the trade was a maker."
    },
    "isBestMatch": {
      "type": "boolean",
      "description": "Whether this was the best price match."
    }
  }
}