Trading Stats
Get trade statistics showing price distribution by volume for a security.
SDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | YES | Security symbol, e.g. 700.HK |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"statistics": {
"avgprice": "210.50",
"buy": "45000000",
"sell": "38000000",
"neutral": "12000000",
"total_amount": "95000000",
"trades_count": "125000",
"preclose": "208.20",
"timestamp": "1778198400",
"trade_date": [
"2026-05-13"
]
},
"trades": [
{
"price": "210.00",
"buy_amount": "5000000",
"sell_amount": "4000000",
"neutral_amount": "1000000"
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | TradeStatsResponse |
| 400 | Bad request | None |
Schemas
TradeStatsResponse
| Name | Type | Required | Description |
|---|---|---|---|
| statistics | object | true | Aggregate trade statistics |
| statistics.avgprice | string | false | Average trade price |
| statistics.buy | string | false | Total buy volume |
| statistics.sell | string | false | Total sell volume |
| statistics.neutral | string | false | Total neutral volume |
| statistics.total_amount | string | false | Total traded amount |
| statistics.trades_count | string | false | Total trade count |
| statistics.preclose | string | false | Previous close price |
| statistics.timestamp | string | false | Statistics timestamp |
| statistics.trade_date | string[] | false | Trading dates included |
| trades | object[] | false | Price-level trade distribution |
| ∟ price | string | true | Price level |
| ∟ buy_amount | string | false | Buy amount at this price |
| ∟ sell_amount | string | false | Sell amount at this price |
| ∟ neutral_amount | string | false | Neutral amount at this price |

