Finnhub-API icon indicating copy to clipboard operation
Finnhub-API copied to clipboard

Accessing VIX from python client

Open lemohammed opened this issue 4 years ago • 1 comments

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)

lemohammed avatar Nov 18 '21 03:11 lemohammed

Same to me.

GF-Huang avatar Apr 18 '22 23:04 GF-Huang