ValueRaider / yfinance-cache

Caching wrapper for yfinance module. Intelligent caching, not dumb caching of web requests.
MIT License
32 stars 11 forks source link

Options chain is not cached #75

Open ricardobranco777 opened 4 hours ago

ricardobranco777 commented 4 hours ago

AttributeError: 'Ticker' object has no attribute 'option_chain'

ValueRaider commented 2 hours ago

I don't use options so need feedback.

ricardobranco777 commented 1 hour ago

I don't use options so need feedback.

1 day is best.

  • What should happen to an option contract already in cache when it's refetched? Just overwrite?

Overwrite because there are things that change like price, volume and open interest.