Generate portfolio of assets with weights and compare them with Portfolio Wealth Index and some descriptive statistics (CAGR, Mean Return, Risk etc.).
Create virtual environment
python -m venv .venv
Activate environment every time you start working with project (run the app or manage dependencies)
(linux) $ source myenv/bin/activate
(windows) # .\.venv\Scripts\activate Install dependencies
pip install -r requirements.txtGenerate sqlite database
python
>>> from app import app, db, Portfolio
>>> app.app_context().push()
>>> db.create_all()
Add latest Bootstrap and Icons to ./templates/base.html.jinja from Bootstrap.
Run with
python app.py