get_rates
Retrieve real-time bid and ask prices for one or more instruments before placing an order.
Instructions
Get real-time bid/ask quotes for instruments.
Recommended before placing an order. Returns {"results": [{"instrumentId": int, "bid": float (sell price), "ask": float (buy price), "lastExecution": float, "conversionRateBid": float, "conversionRateAsk": float (instrument currency to USD), "date": ISO-8601 quote timestamp}]}.
Rate limit: shares the market-data pool of 120 requests per 60 seconds.
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": {
"instrument_ids": "<instrument_ids>"
},
"name": "get_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instrument_ids | Yes | Instrument ids to quote, e.g. [1001, 1002]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||