track and visualize crypto investments
- CRUD functionality: add, read, update, delete your portfolio assets
- Price chart visualization with Chart.js
- All data is stored in PostgreSQL
- Code review / optimization
- Indicators for evaluating portfolio quality
- Add more cryptocurrenices, more indicators and automate parsing
- Distribute app as a docker image
- Ability to add multiple portfolios
- User authorization
- ...
- clone the repository
git clone https://github.com/fidesy/crypto-tracker.git
cd crypto-tracker
- pull and run PostgreSQL image
docker pull postgres
docker run --name exampledb -e POSTGRES_PASSWORD=postgres -dp 5432:5432 postgres
- activate python environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- create a .env file with one variable - connection string to your database, depends on PostgreSQL startup settings in step 2.
# default value
DBURL=postgresql://postgres:postgres@localhost?sslmode=disable
- run fastapi application
make run
OR
python -m uvicorn crypto_tracker.main:app --reload
- fill in data in tables
python crypto_tracker/scripts/insert_currencies.py
python crypto_tracker/scripts/parse_candlesticks.py
- install interface dependecies and run it
cd interface
npm i
npm start