See for yourself
▶ Website ◀
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.
- 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 git@github.com: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.
- 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.
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:
pyppeteer-install