zq99 / optionsview

This library downloads option chain data for a given symbol from yahoo finance in a trader friendly format.
GNU General Public License v3.0
6 stars 2 forks source link

The open_interest_call alway is 0 #2

Open disappearedgod opened 2 months ago

disappearedgod commented 2 months ago

I tried it in 14:24 7/26/2024 Beijing. The result is here.


from options.data import download_options_view,View

#download_options_view('TSLA')
download_options_view('TSLA', View.STRADDLE )

image

zq99 commented 2 months ago

I think this may have been an issue with yahoo finance, which is where the library gets its data from. I checked a few days ago, and the open interest was 0.

However, just tried it again, and the open interest is populated.

FYI - you can cross reference the data from the library with yahoo finance for TSLA via this link: https://uk.finance.yahoo.com/quote/TSLA/options/?straddle=true