Coinbase · Schema

Fill

A completed trade fill

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
entry_id string Unique identifier for the fill entry
trade_id string Trade identifier
order_id string Order that generated this fill
trade_time string Time the trade occurred
trade_type string Type of trade
price string Price at which the trade executed
size string Size of the trade
commission string Commission charged for the trade
product_id string Product traded
side string Trade side
View JSON Schema on GitHub

JSON Schema

coinbase-fill-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Fill",
  "title": "Fill",
  "type": "object",
  "description": "A completed trade fill",
  "properties": {
    "entry_id": {
      "type": "string",
      "description": "Unique identifier for the fill entry"
    },
    "trade_id": {
      "type": "string",
      "description": "Trade identifier"
    },
    "order_id": {
      "type": "string",
      "description": "Order that generated this fill"
    },
    "trade_time": {
      "type": "string",
      "format": "date-time",
      "description": "Time the trade occurred"
    },
    "trade_type": {
      "type": "string",
      "description": "Type of trade"
    },
    "price": {
      "type": "string",
      "description": "Price at which the trade executed"
    },
    "size": {
      "type": "string",
      "description": "Size of the trade"
    },
    "commission": {
      "type": "string",
      "description": "Commission charged for the trade"
    },
    "product_id": {
      "type": "string",
      "description": "Product traded"
    },
    "side": {
      "type": "string",
      "description": "Trade side",
      "enum": [
        "BUY",
        "SELL"
      ]
    }
  }
}