Historique OHLCV
quantower_get_historyRetrieve historical OHLCV candlestick bars for a specified instrument and timeframe, with optional start/end dates and a limit up to 500 bars.
Instructions
Renvoie les bougies OHLCV d'un instrument (timeframes : 1m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w). Le nombre de barres est plafonné à QUANTOWER_MAX_BARS (actuellement 500). Cette lecture n'est pas mise en cache : réduisez limit pour les gros historiques.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Fin de plage ISO 8601, ex. 2026-10-13T00:00:00Z. | |
| from | No | Début de plage ISO 8601, ex. 2026-10-01T00:00:00Z. | |
| limit | No | Nombre maximum de barres (défaut 200, max 500). | |
| symbolId | Yes | Identifiant de l'instrument (Symbol.Name). | |
| timeframe | Yes | Granularité des bougies. | |
| connectionId | No | Connexion à utiliser si l'instrument existe sur plusieurs. |