Django-based Crypto Portfolio Tracker โ€“ keep an eye on Shiba Inu and other Crypto

Overview

Crypto Tracker ๐Ÿ ๐Ÿ“ˆ โ€“ Central Portfolio Tracking

Python Django

Easy asset tracking โ€“ at a glance ๐Ÿš€

Application Screenshot

Dashboard to centrally monitor current crypto portfolio developments, by providing an overview of their current value. Values can either be displayed by their current Overall value (requires adding Purchases) or by their Current value (indicated by the V next to the number).

The current course data is polled from CoinMarketCap's REST API and stored in the database. The API allows you to make a maximum of 333 points worth of daily requests (~1 request / 5min). Querying multiple cryptos may increase the amounts of points required per API call, thus requires increasing the time between requests.

โญ Features

๐Ÿ’ธ Personalized crypto portfolio tracking
๐Ÿ’ธ Centrally keep an eye on its current value
๐Ÿ’ธ Quickly react to emerging changes
๐Ÿ’ธ Show overall or current value
๐Ÿ’ธ Convert values into local currency
๐Ÿ’ธ Chart crypto course
๐Ÿ’ธ Soon: alerting via Pushover

Deployment ๐Ÿ‘พ

Deployment is best done via Docker โ€“ can also be achieved by installing each component manually, but this is quite tedious, so I'm not going to detail that here.

This application is meant to be run behind e.g. Traefik or a WAF (Web Application Firewall) that handles the SSL certificates, such as LetsEncrypt.

Once rolled out the application is reachable via http:// :5000

Requirements

Setup

All relevant parameters are controlled via environment variables that are passed to the docker-compose stack. For further reference review the config/settings.py file.

mv dotenv-sample .env
vi .env
  • SECRET_KEY just set it
  • POSTGRES_PASSWORD database password
  • SITE_HOSTNAME name your site is going to be reached at. Multiple values can be space-separated
  • ALLOWED_HOSTS allowed host headers - should have SITE_HOSTNAME values + IPv4 of your Docker host
  • COINMARKET_KEY your CoinMarketCap API key used for requests
  • TARGET_CURRENCY if you wish to convert the USD course + price data to your local currency

Docker Rollout

mv docker/docker-compose .
mv docker/rebuild-shortcut rebuild
chmod +x ./rebuild
./rebuild

Everything should now be running smoothly. Use a service (cron will also do) to start the process automatically at boot. Alternatively you can also add -d to the docker-compose command in rebuild and run it manually at each startup.

Usage ๐Ÿš€

Once running, access the admin panel via http:// :5000/admin To access it, you will need to create a user using chmod +x docker/manage-shortcut; ./docker/manage-shortcut createsuperuser

Login with the credentials just created, to then add the Cryptos you wish to track. Once added, Purchases enable you to indicate your assets/amount for each crypto.

Buy me a Coffee


TODOs ๐Ÿ› ๏ธ

  • Resize image
  • Price Alerting
Bit is Python's fastest Bitcoin library and was designed from the beginning to feel intuitive, be effortless to use, and have readable source code.

Bit is Python's fastest Bitcoin library and was designed from the beginning to feel intuitive, be effortless to use, and have readable source code.

Ofek Lev 1.1k Jan 02, 2023
A Python module to encrypt and decrypt data with AES-128 CFB mode.

cryptocfb A Python module to encrypt and decrypt data with AES-128 CFB mode. This module supports 8/64/128-bit CFB mode. It can encrypt and decrypt la

Quan Lin 2 Sep 23, 2022
The Qis|kryptโŸฉ is a software suite of protocols of quantum cryptography and quantum communications

The Qis|kryptโŸฉ is a software suite of protocols of quantum cryptography and quantum communications, as well, other protocols and algorithms, built using IBMโ€™s open-source Software Development Kit for

Qiskrypt 14 Oct 31, 2022
This program generate hashes from random salts

Hash Generator This program generate hashes from random salts. How to install Install this program using python 3 and pip: pip install . In the future

Diesan Romero 2 Aug 20, 2022
Solutions to all 6 programming assignments in Dan Boneh's course Cryptography I, in statically typed Python.

Solutions to Cryptography I programming exercises Dan Boneh from Stanford University has an excellent online course on cryptography, hosted on Courser

Axel Lindeberg 8 Dec 16, 2022
This is a basic encryption and decryption program made in python.

A basic encryption and decryption program to visualize how the process of protecting data works.

Junaid Chaudhry 5 Nov 15, 2021
Python based project to pull useful account statistics from the Algorand block chain.

PlanetWatchStats Python based project to pull useful account statistics from the Algorand block chain. Setup pip install -r requirements.txt Run pytho

M0x40 1 Jan 27, 2022
Hyval will store your information encrypted and decrypt it when needed

Hyval will store your information encrypted and decrypt it when needed

soroush safari 3 Oct 31, 2021
I coded the sha256 algorithm into python without using any modules.

sha256.py I coded the sha256 algorithm in python without using any modules. The purpose of the code was to better understand the algorithm and learn h

4 Dec 12, 2022
Deribit_Algo_Project_Python - Deribit algo project written in python trading crypto futures

This is a Algo/script trading for Deribit. You need an account with deribit, to

24 Jan 09, 2023
Persian caesar and rot16 encryptor and decryptor

persian caesar and rot16 encrypt and decrypt how to install if you use windows python -m venv .venv .\.venv\Script\activate python -m pip install -r r

Mehdi Radfar 5 Oct 28, 2022
Challenge2022 - A backend of a Chia project donation platform

Overview This is a backend of a Chia project donation platform. People can publi

Kronus91 2 Feb 04, 2022
keyring MITkeyring (๐Ÿฅ‰27 ยท โญ 630) - Store and access your passwords safely. MIT

The Python keyring library provides an easy way to access the system keyring service from python. It can be used in any application that needs safe pa

Jason R. Coombs 948 Dec 18, 2022
DCAStack: an Automated Dollar Cost Averaging Bot for Your Crypto

Welcome to DCA Stack! An Automated Dollar Cost Averaging Bot For Your Crypto Web

0 Sep 03, 2022
Stai Beta Of Staiking Chain - Food, Water And Electricity - Worldwide

Stai Beta Of Staiking Chain - Food, Water And Electricity - Worldwide

STATION-I 2 Feb 05, 2022
A tool that can encrypt python2 or python3 code with the given password and can reuse with that password

A tool that can encrypt python2 or python3 code with the given password and can reuse with that password

Md Rasel Bhuyan 3 Feb 28, 2022
Dicoding Machine Learning for Expert Submission 1 - Predictive Analytics

Laporan Proyek Machine Learning - Azhar Rizki Zulma Domain Proyek Domain proyek yang dipilih dalam proyek machine learning ini adalah mengenai keuanga

Azhar Rizki Zulma 6 Jul 23, 2022
A lightweight encryption library in python.

XCrypt About This was initially a project to prove that I could make a strong encryption but I decided to publish it so that the internet peoples coul

Anonymous 8 Sep 10, 2022
SVSHI - Secure and Verified Smart Home Infrastructure

The SVSHI (Secure and Verified Smart Home Infrastructure) (pronounced like "sushi") project is a platform/runtime/toolchain for developing and running formally verified smart infrastructures, such as

Dependable Systems Laboratory 3 Oct 28, 2022
Stor is a community-driven green cryptocurrency based on a proof of space and time consensus algorithm.

Stor Blockchain Stor is a community-driven green cryptocurrency based on a proof of space and time consensus algorithm. For more information, see our

Stor Network 15 May 18, 2022