tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 183 forks source link

KeyError: 'data' in options #248

Closed amoiza1 closed 3 years ago

amoiza1 commented 3 years ago

Hi, Not sure if it's actually an issue, I am getting KeyError: 'data' while trying to query all options quote with 'queryAll' method. I am getting the same error while trying to fetch get_options_bars for a stock.

wb.get_options(ticker, queryAll = 1) wb.get_options_bars(1624478399000)

Both of above queries results in error. Can anyone please guide me, thank you.

image

amoiza1 commented 3 years ago

I believe if data is not available for any specific option's tickerId/derivativeId, we will get this error. Closing