- HTML 50.9%
- Python 32.9%
- CSS 16.1%
- Dockerfile 0.1%
| app | ||
| images | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| docker-compose.yml.example | ||
| Dockerfile | ||
| README.md | ||
| requirements.txt | ||
| run.py | ||
StockTracker
This site will keep track of your Stocks and ETF.
About
As my bank only gave me an app on my phone, with hardly any good graphs, I wanted to get better insight in how my money was performing. I made this site to run at home in a container. It downloads stock data once a day when the exchange for specific stocks is closed. It gives you data on each stock, with graphs, your own assets as a second Y-axis, changes per day, week or month. Ofcourse there is also a portfolio page which packs it all together for you to give you a great insight in how your money grew (or went missing)
Usage
Create your .env file (see .env.example) and add your SECRET_KEY, APP_USERNAME and APP_PASSWORD_HASH to it.
Rename the docker-compose.yml.example to docker-compose.yml and run docker compose up --build -d to get your container up and running. This will start a container, setup a SQLite database and start the Flask webserver.
Once logged in, go to settings and setup your default currency!
Now you navigate to Stocks and start adding the assets you want to keep track. It will fetch data from the last year for you as you add them. When you click on the stock name you will see the graph like the screenshot below and can add transactions.
Adding all your stocks and transactions will give you a nice overview in your portfolio.
“Sell in May and go away, and remember to come back in September.”
-- Ivo
