get_realtime_trade
Retrieve real-time trade data including price, volume, and change for stocks, crypto, or forex symbols like AAPL.US or BTCUSDT.
Instructions
Get real-time trade data for stocks, crypto, or forex. Returns latest price, volume, change, and timestamp for each symbol. Example codes: 'AAPL.US', 'BTCUSDT', '700.HK', 'USDJPY'.
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": {
"codes": "<codes>"
},
"name": "get_realtime_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | Comma-separated symbol codes. Examples: 'AAPL.US' (US stock), '700.HK' (HK stock), 'BTCUSDT' (crypto), 'USDJPY' (forex). | |
| market_type | No | Market type to query. 'stock' for HK/US/CN equities, 'crypto' for digital currencies, 'common' for forex & commodities, 'japan' for Japan equities, 'india' for India equities. | stock |