ValueRaider

Results 898 comments of ValueRaider

Just add a mutex lock? Maybe 5 LOC, much simpler. > an async version of the fetching API Can this be a new package that sits on top of yfinance?...

we had to move away from requests, anything other than curl_cffi probably won't work https://curl-cffi.readthedocs.io/en/latest/quick_start.html#asyncio

Test error is: > ERROR: No matching distribution found for numpy==1.21.5

Yahoo API doesn't have a "fetch everything" option, AFAIK, so have to specify each key: https://github.com/ranaroussi/yfinance/blob/main/yfinance%2Fconst.py#L39

> different value based on whether the adjust_splits argument is True or False. It should change. What do you think `adjust_splits` should do, and how is actual behavior different?

If you really need the adjustment factors, I could simply expose them as they are in cache: https://github.com/ValueRaider/yfinance-cache/blob/main/yfinance_cache%2Fyfc_ticker.py#L276-L291 CSF = Cumulative Split Factor

I'm sure there is a classifying field. Anyway, yfinance is just fetching from Yahoo.

No problem, I'll add a setting to options (see README) Immediate workaround is modifying code to always accept.

I'm testing this now. Does this make sense? ``` import yfinance_cache as yfc yfc.options.calendar.accept_unexpected_Yahoo_intervals = [True|False] ```