/investment-correlation-py

Visualize Pearson's correlation for stocks, ETFs or bonds using yfinance API.

Primary LanguagePythonMIT LicenseMIT

Stocks Correlation Matrix

A simple python script to visualize pearson correlation matrix.

  1. Add your stock indicators to the list and run the script.
  2. A pickle file is locally created, if data has been downloaded using yfinance.

Feel free to make changes or fork this simple script.

Uses

yfinance pandas seaborn matplotlib

Stock Corr

Further Reading

Corr on StackExchange Corr between prices or returns