https://github.com/volpigiuliano/portfolio-heap-map
https://github.com/volpigiuliano/portfolio-heap-map
correlation heap-map portfolio yfinance
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/volpigiuliano/portfolio-heap-map
- Owner: VolpiGiuliano
- Created: 2024-01-31T18:26:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T09:11:26.000Z (over 1 year ago)
- Last Synced: 2025-04-12T15:18:55.091Z (6 months ago)
- Topics: correlation, heap-map, portfolio, yfinance
- Language: Jupyter Notebook
- Homepage:
- Size: 466 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Portfolio Heap Map
This notebook creates a heap map showing the correlation matrix of the asset returns of our choosing. The historical data comes from the Yahoo Finance API

## Setup
The notebook uses these two external libraries, it is very important to have the last version of `yfinance`.
```bash
!pip install yfinance
``````bash
!pip install ipywidgets
```In some types of notebooks (like Colab) the `%matplotlib` widget can create headaches so it is better to just comment it like this:

## How to use it
+ Run the `Setup` and `Interaction` groups
+ Choose the assets and the period of interest
+ Run the `Calculations` and `Plot` groups