get_recent_trades
Get the most recent executed trades for a symbol.
Returns trade id, price, quantity, side (buy/sell/neutral), and timestamp in ms.
Futures may also return open_interest_change and position_effect
(long_open, short_open, both_open, long_close, short_close, both_close,
long_transfer, short_transfer).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "get_recent_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Product type for disambiguation: stock, crypto, forex, indices, futures | |
| limit | No | Number of trades, default 100, max 1000 | |
| symbol | Yes | Single symbol. Supported: US/HK/CN stocks, CN/HK futures and crypto. E.g. 'AAPL.US', '700.HK', '600519.SH', or 'BTCUSDT' |