yfinance-cache icon indicating copy to clipboard operation
yfinance-cache copied to clipboard

The behavior of parameter “period” is inconsistent with yfinance

Open ana-jiangR opened this issue 2 years ago • 2 comments

in yfinance, parameter “period” means the only "trading" days, while in yfinance_cache, it means all the ordinary days (including weekends and holidays)

so, please you can check.

By the way, this is a great module offering cache capabilities, really appreciate that, keep going!

ana-jiangR avatar Oct 14 '23 05:10 ana-jiangR

Reason:

  • yfinance sends period value to Yahoo
  • yfinance-cache converts period to start and end dates

ValueRaider avatar Jun 08 '25 15:06 ValueRaider

is this still an issue as of 10/25?

JosipDomazetDev avatar Oct 05 '25 11:10 JosipDomazetDev