A Jupyter notebook with a tool for evaluating if a portfolio contains enough assets for an emergency fund and a tool for retirement planning using Monte Carlo simulations.
The retirement planning tool will make an Alpaca API call via the Alpaca SDK to get historical price data for use in Monte Carlo simulations. To run the tool, first create an Alpaca account and create a .env file with your ALPACA_API_KEY
and ALPACA_SECRET_KEY
. Use the SAMPLE.env file as a reference.
- python 3.7.10
- jupyterlab 3.0.14
- pandas 1.2.4
- matplotlib 3.3.4
- requests 2.25.1
- python-dotenv 0.18.0
- alpaca-trade-api 1.2.3
GNU GPLv3