get_latest_candles
Retrieve the most recent candle for each requested instrument, granularity, and price side. Get OHLC data, volume, and completeness status.
Instructions
Get the most recent candle for each requested instrument/granularity.
Returns {"latest_candles": [...]} with one entry per specification:
instrument, granularity, and candles — each candle carries
time (RFC3339), complete (false means the candle is still
forming), volume (number of price ticks), and an o/h/l/
c object per requested price side (bid/mid/ask) with
prices as decimal strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candle_specifications | Yes | Candle specifications, each formatted INSTRUMENT:GRANULARITY:PRICE, e.g. 'EUR_USD:M10:BM'. Granularity is one of S5, S10, S15, S30, M1, M2, M4, M5, M10, M15, M30, H1, H2, H3, H4, H6, H8, H12, D, W, M. Price is a combination of M (mid), B (bid), A (ask). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||