Taker Volume
taker_volumeTaker buy versus taker sell volume for a crypto perpetual contract on the OKX venue, bucketed by period. Returns the per-bucket series, the buy/sell ratio and cumulative volume delta (CVD) across the window — the aggressor-flow input for order-flow and CVD analysis.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instId": "BTC-USDT-SWAP",
"period": "1H",
"buckets": 3
},
"name": "taker_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | '0' for contracts (default), '1' for coin. | |
| instId | Yes | ||
| period | No | 5m, 15m, 30m, 1H, 2H, 4H, 6H, 12H or 1D. Default 5m. | |
| buckets | No | Recent buckets to return and sum. Default 24, max 100. |