Giter VIP home page Giter VIP logo

dash_eth's Introduction

Dash_eth

This project is trying to fetch real time balance & orderbook of ETH and visualise using dash

Getting Started

Running the app locally

First create a virtual environment with conda or venv inside a temp folder, then activate it.

virtualenv venv

# Windows
venv\Scripts\activate
# Or Linux
source venv/bin/activate

Clone the git repo, then install the requirements with pip


git clone https://github.com/jianwang0212/Dash_eth.git
cd Dash_eth
pip install -r requirements.txt

Run the app


python3 app.py

About the Data_fetcher folder

fetcher_bal_orderbook.py: fetch orderbook and bal data in an exchange => save to the database.

fetcher_trades.py: fetch historical my trades for an exchange => save to the database.

merger_td_bal_ods.py: merge all data into a single table in SQL

check_sql.ipynb: check the SQL database for the above three tables in the pandas dataframe format

other files: make it easy for test single function for the fetcher

p.s.

  • the config file is the API key and secret you need to get your bal & personal trade

The format may look like the following(fake key)

indodax = {
    'apiKey': 'BB5W3D5U-SK2PSU13-LYD123412P-DTGTHVOL-ZCU3478KUH',
    'secret': '6028casdw20843c5e1dae31c289d6f45bf742a0dfsdf2c69cd73b7f92cf3901'
}
  • You may want to use the .ipynb (Jupyter notebook) to see how the fetcher work

Built With

  • Dash - Main server and interactive components
  • Plotly Python - Used to create the interactive plots

dash_eth's People

Contributors

jianwang0212 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.