get_rates
Obtain real-time bid and ask prices for instruments to evaluate market quotes before executing trades.
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.
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 | |||