Skip to content

Cryptocurrency Dashboard displaying price and volume information for BTC, ETH, BNB using Python, Jupyter Notebooks and the Binance API.

Notifications You must be signed in to change notification settings

kuranez/Krypto-Dashboard

Repository files navigation

Cryptocurrency Dashboard

Simple finance dashboard to track and compare cryptocurrency prices written in Python.

Update: Complete overhaul in v1.2!

  • Extensive Jupyter Notebook with full documentation.
  • Use as a basis and create your own python script using the components you need.

Features:

  • Fetch cryptocurrency data from Binance.
  • Store API-Keys securely using dotenv.
  • Helper functions to extract data and save to CSV.
  • Explore dataframes in Tabulate.
  • Create plots in Plotly.
  • Build dashboard in Panel.

WebApp

Simple example dashboard (crypto_prices_over_time.ipynb) is hosted on Anaconda Cloud.

View Demo Dashboard App on Anaconda Cloud!

Requirements & Installation

List of Python packages

  • load_dotenv
  • datetime
  • pandas
  • panel
  • plotly
  • matplotlib

Installation

Install with pip:

pip install <PACKAGE_NAME>

Install with conda:

conda install --channel=conda-forge <PACKAGE_NAME>


Binance API Key

Store your Public Binance API-Key in keys.env.

howto_add_api_key.png


Add Cryptocurrency Symbols

Go to Add Symbol section of the notebook and add custom Crypto-USDT-pairs.

howto_add_symbols.png

Pick custom colors for plotly using the matplotlib colors library and add to colors dictionaries.

https://matplotlib.org/stable/gallery/color/named_colors.html

howto_add_symbols_customize.png


Example Datasets

Example data sets are available.

howto_example_datasets


Run Notebook

Run all cells first to guarantee full functionality.

howto_run_notebook.png


Features

Overview

Grab and check all data you need using the Main Function.

features_main.png


Save Data to CSV

Save data locally as a csv file.

features_CSV.png


Price Plots

Generate nice looking charts with Plotly.

Market Overview Figures


fig_market_overview_comparison_1.png


fig_market_overview_comparison_2.png


Interactive Price Charts


fig_detail.png


Explore DataFrames in Tabulate

Explore & Compare data tables and apply filters if necessary.

features_compare_filter_data.png


Interactive Widgets

Use interactive widgets to explore data in Jupyter Notebook or build a Dashboard App using Panel.

features_dashboard.png


Resources