Adding UK CPI data

Cool :slight_smile:

So, maybe better to use

minticks={TODAY:unixtime:-P50Y}000          (one-time use)
minticks={TODAY:unixtime:-P6M}000
maxticks={TODAY:unixtime}000

Haven’t tested it yet, but I think the macro provides the timestamp in seconds, not milliseconds, hence the three zeros at the end.

EDIT: Now I’ve tested it, works like a charm

https://www.global-rates.com/highchart-api/?minticks={TODAY:unixtime:-P6M}000&maxticks={TODAY:unixtime}000&series[0].id=60&series[0].type=9&extra=null

$[0].data[*][0]

$[0].data[*][1]

1 Like