The Horizon request parameter is a number specifying the sampling period pr. sample measured in minutes. The supported values for horizons are currently 1, 5, 10, 15, 30, 60, 120, 240, 360, 480, 1440, 10080, 43200. You can use this table below for conversion:
Horizon Value | Corresponding bar |
1 | 1-minute bar |
5 | 5-minute bar |
10 | 10-minute bar |
15 | 15-minute bar |
30 | 30-minute bar |
60 | 1-hour bar |
120 | 2-hour bar |
240 | 4-hour bar |
360 | 6-hour bar |
480 | 8-hour bar |
1440 | 24-hour bar |
10080 | 1-week bar |
43200 | 1-month bar |
More Resources