How to Use yfinance for Mutual Fund Percent Change Tracking?

22 Replies, 1378 Views

Nice post! I’ve been using yfinance for mutual fund percent change tracking too, and it’s been pretty straightforward. One thing I’d add is to consider using `pandas` for more advanced data manipulation.

For example, you can calculate the cumulative percent change over time:
```python
data['Cumulative_Change'] = (data['Close'] - data['Close'].iloc[0]) / data['Close'].iloc[0] * 100
```
Super helpful for long-term tracking!
Hey, thanks for sharing! I’ve been using yfinance for mutual fund percent change tracking too, and it’s been a great tool. One thing I’d recommend is to check out Alpha Vantage if you need more detailed financial data. They have a free tier and offer a lot of flexibility for tracking mutual funds.



Users browsing this thread: 1 Guest(s)