Skip to content

fidesy/crypto-tracker

Repository files navigation

crypto-tracker

track and visualize crypto investments

Features

  • 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
  • ...

Screenshots

Requirements

docker

Installation

  1. clone the repository
git clone https://github.com/fidesy/crypto-tracker.git
cd crypto-tracker
  1. pull and run PostgreSQL image
docker pull postgres
docker run --name exampledb -e POSTGRES_PASSWORD=postgres -dp 5432:5432 postgres
  1. activate python environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. 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
  1. run fastapi application
make run

OR

python -m uvicorn crypto_tracker.main:app --reload
  1. fill in data in tables
python crypto_tracker/scripts/insert_currencies.py
python crypto_tracker/scripts/parse_candlesticks.py
  1. install interface dependecies and run it
cd interface
npm i
npm start

Releases

No releases published

Packages

No packages published