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
You might also like...
This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds.

This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds.

Crypto-curriences analysis
Crypto-curriences analysis

Crypto_analysis Discription: simple streamlit(screener) app to make MMA and OSC analysis for cyrpto-currenices, and gives resaults for which coins are

πŸ“ŠPython implementation of the Colin Talks Crypto Bitcoin Bull Run Index (CBBI).
πŸ“ŠPython implementation of the Colin Talks Crypto Bitcoin Bull Run Index (CBBI).

Colin Talks Crypto Bitcoin Bull Run Index (CBBI) This is a Python implementation of the Colin Talks Crypto Bitcoin Bull Run Index (CBBI). It makes use

Bot to trade crypto trading ranges

crypto-trading-bot Crypto bot with DCA or GRID trading strategy Sends notifictions to telegram chat Crypto bot with webhook feature which can be used

A bot that escrows crypto transactions on Reddit

EscrowBot I NEED BCH TESTNET FOR TESTING. Please send me some BCH testnet if you have some: bchtest:qz5eur3prqyvd8u77m6fzf9z6cruz9q7vq4qvgdnuk Depende

A Trading strategy for the Freqtrade crypto bot.

Important Thing to notice 1) Do not use this strategy on live. It is still undergoing dry-run. 2) The Hyperopt is highly optimized towards "shitcoin"

Using with Jupyter making live crypto currency action
Using with Jupyter making live crypto currency action

Make-Live-Crypto-Currency-With-Python Using with Jupyter making live crypto currency action 1.Note: πŸ’£ You must Create a Binance account and also clic

Salted Crypto Python library

Salted Crypto Python library. Allows to encrypt and decrypt files and directories using popular cryptographic algorithms with salty key(s).

Random Pasword Generator Sezar Crypto

Random_Pasword_Generator_Sezar_Crypto Simple Work Main design available in ana_sayfa.ui / ana_sayfa2.py Popup design available in popup.ui / anahtarp

Comments
  • Issues with coins < 1

    Issues with coins < 1

    Hi,

    Nice tracker! I am running it in a Docker swarm with Traefik and Letsencrypt and I ran into following problem:

      File "/app/crypto/templatetags/crypto_extras.py", line 37, in cryptoformat
        float_format = int(str(value).partition('-')[2]) + 100
    ValueError: invalid literal for int() with base 10: ''
    

    I do not know why you are using "-" here, e.g. if the coin value is 0.04321, then you should use a ".":

            float_format = int(str(value).partition('.')[2]) + 100
    

    At least this solved the problem for me.

    regards, Peter

    opened by pgastinger 1
Owner
null
Simple python crypto bot to trade crypto on Binance based on RSI. Utilizing web sockets to get real-time prices

Py Crypto Bot Using Binance WebSocket API to get real-time price data for cryptocurrencies. Using the TA-Lib library to calculate the RSI and execute

Kennedy Ngugi Mwaura 15 Jan 4, 2023
A web app to scan crypto markets based on candlestick pattern recognition from

Crypto_Scanner A web app to scan crypto markets based on candlestick pattern recognition from "Japanese Candlestick Charting Techniques: A Contemporar

Chris Qi 27 Jan 1, 2023
XMRiGUI is free and open-source crypto miner for Linux. It uses XMRig for mining and GTK3 for GUI.

XMRiGUI is free and open-source crypto miner for Linux. It uses XMRig for mining and GTK3 for GUI.

null 29 Jul 7, 2022
A crypto bot that checks the price movement in the markets and creates buy and sell signals

Booter bot Purpose The purpose of this bot is to check the price fluctuations in a given market in binance and create the idealistic signals based on

null 2 Oct 9, 2022
A crypto wallet to send bnb and ether coin using web3.py and moralis speedy node

A crypto wallet to send bnb and ether coin using web3.py and moralis speedy node

Ciscoquan 3 Aug 16, 2022
Freqtrade is a free and open source crypto trading bot written in Python

Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning.

null 20.2k Jan 7, 2023
Encrypt your code without a worry. Stark utilizes the base64, hashlib and Crypto lib to encrypt your code which cannot be decrypted with any online tools.

Stark Encrypt your code without a worry. Stark utilizes the base64, hashlib and Crypto lib to encrypt your code which cannot be decrypted with any onl

cliphd 3 Sep 10, 2021
dashboard to track crypto prices and change via the coinmarketcap APIs

crypto-dashboard Dashboard to track crypto prices and change via the coinmarketcap APIs. Uses chart.js and ag-grid. Requirements: python 3 (was writte

null 4 Nov 9, 2021
Crypto Stats and Tweets Data Pipeline using Airflow

Crypto Stats and Tweets Data Pipeline using Airflow Introduction Project Overview This project was brought upon through Udacity's nanodegree program.

Matthew Greene 1 Nov 24, 2021
This is simple Blockchain ,miner and wallet to send crypto using python

pythonBlockchain-SImple This is simple Blockchain ,miner and wallet to send crypto using python It is simple Blocchain so it can only dobasic work usi

null 3 Nov 22, 2022