Finnhub-API
Finnhub-API copied to clipboard
Accessing VIX from python client
How can we access the VIX? I am running the code below but I get no data
client = finnhub.Client('API_KEY')
data = client.stock_candles('^VIX', 1, 0, 1637110680)
with open('res.json', 'w+') as fp:
json.dump(data, fp)
Same to me.