Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maciekmalachowski/crypto-charts-site

📊Application which return financial data for selected cryptocurrency.
https://github.com/maciekmalachowski/crypto-charts-site

binance-api data-analysis jupyter-notebook matplotlib mplfinance numpy pandas python python-binance

Last synced: about 2 months ago
JSON representation

📊Application which return financial data for selected cryptocurrency.

Awesome Lists containing this project

README

        

📊Crypto-charts-site

See for yourself
Website

## Table of Contents

- [First look](https://github.com/maciekmalachowski/Crypto-charts-site#first-look)
- [Installation](https://github.com/maciekmalachowski/Crypto-charts-site#installation)
- [App appearance](https://github.com/maciekmalachowski/Crypto-charts-site#app-appearance)
- [Download you analysis](https://github.com/maciekmalachowski/Crypto-charts-site#download)




First look 👀

### The *Jupyter Notebook-based* application was created to analyze market data using the Binance API using the `Python-binance` library. 

### `Numpy` and `Pandas` allow users to retrieve and analyze market data. Visualization of charts is supported by 'Mplfinance', which uses Matplotlib.

### Open-source library *`Mercury`* allows you to add interactive widgets in jupter-notebook, so you can share your notebook as a web application, which is deployed by https://cloud.runmercury.com.


Installation ℹ

- First of all, clone this repository on your device. Open your shell and paste the following commands:

*URL cloning*
```
git clone https://github.com/maciekmalachowski/Crypto-charts-site.git
```
*SSH cloning*
```
git clone [email protected]:maciekmalachowski/Crypto-charts-site.git
```

- Then, you need to install the requirements contained in ``requirements.txt``.
```
pip install -r requirements.txt
```


- Create a `.env` file and paste your **api** and **secret** keys from the Binance API.
```
api_key = 'your_api_key'
secret_key = 'your_secret_key'
```


- After that, run `internal mercury server` in the repository folder.
```
mercury run
```
Mercury will read all the notebooks contained in the folder and *automatically* display them in the browser.


App appearance 🔍

- The application has a *sidebar*, which is responsible for all activities related to cryptocurrency analysis.
- Cryptocurrency analysis returns us information within a specified interval, such as:
- Current price
- Highest price
- Lowest price
- Mean price
- It also displays a *chart*, which we can freely modify.
> ### The Binance server that is being used is set to the time zone UTC+0

Download 💾

### Mercury has the option to export an executed notebook to PDF or HTML. It is very simple. Click the Download button in the sidebar and select the desired format:

> ### A first-time PDF download will trigger `pyppeteer` download and installation if it is not available in the system.

#### Make sure you have Chromium installed. It can be done with the following command:
```
pyppeteer-install
```

#### More images can be found in the `media` folder.