Hey everyone,
So I’ve been trying to figure out how to calculate mutual fund percent change using python yfinance. I’m kinda new to this, so bear with me if I sound a bit clueless lol.
Basically, I want to pull mutual fund data and calculate the percentage change over a specific period. I’ve got yfinance installed, but I’m not entirely sure how to structure the code for mutual funds specifically.
Has anyone here worked with python yfinance for mutual fund percent change before? Like, do I just use the `.history()` method and then calculate the percent change manually, or is there a built-in way to do it?
Also, do mutual funds even work the same way as stocks in yfinance? I’m assuming they do, but just wanna double-check.
Any tips or code snippets would be super helpful! Thanks in advance, y’all.
Cheers!
So I’ve been trying to figure out how to calculate mutual fund percent change using python yfinance. I’m kinda new to this, so bear with me if I sound a bit clueless lol.
Basically, I want to pull mutual fund data and calculate the percentage change over a specific period. I’ve got yfinance installed, but I’m not entirely sure how to structure the code for mutual funds specifically.
Has anyone here worked with python yfinance for mutual fund percent change before? Like, do I just use the `.history()` method and then calculate the percent change manually, or is there a built-in way to do it?
Also, do mutual funds even work the same way as stocks in yfinance? I’m assuming they do, but just wanna double-check.
Any tips or code snippets would be super helpful! Thanks in advance, y’all.
Cheers!
