Coinbase · Schema
Allocation
An order allocation across sub-portfolios
BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3
Properties
| Name | Type | Description |
|---|---|---|
| allocation_id | string | Allocation identifier |
| order_id | string | Source order ID |
| product_id | string | Product traded |
| side | string | Trade side |
| avg_price | string | Average allocation price |
| base_quantity | string | Base quantity allocated |
| quote_value | string | Quote value allocated |
| fees_allocated | string | Fees allocated |
| status | string | Allocation status |
| created_at | string | When the allocation was created |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Allocation",
"title": "Allocation",
"type": "object",
"description": "An order allocation across sub-portfolios",
"properties": {
"allocation_id": {
"type": "string",
"description": "Allocation identifier"
},
"order_id": {
"type": "string",
"description": "Source order ID"
},
"product_id": {
"type": "string",
"description": "Product traded"
},
"side": {
"type": "string",
"description": "Trade side"
},
"avg_price": {
"type": "string",
"description": "Average allocation price"
},
"base_quantity": {
"type": "string",
"description": "Base quantity allocated"
},
"quote_value": {
"type": "string",
"description": "Quote value allocated"
},
"fees_allocated": {
"type": "string",
"description": "Fees allocated"
},
"status": {
"type": "string",
"description": "Allocation status"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "When the allocation was created"
}
}
}