Coder Social home page Coder Social logo

orderbook-viz's Introduction

Orderbook Visualizer

This project contains the code to plot the full order book tick by tick.

More information in this blog post

Also on Reddit

The sample data contains 30 minutes of raw tick-by-tick updates of the Level II orderbook in Coinbase Pro for the pair BTC-GBP on December 3rd 2019 during 9:06 am and 9:36am GMT. It contains 183542 lines, which means an average update each 10 ms.

How to run

  1. Unzip the data under data/raw_socket_capture_sample.zip

  2. Install requirements (pip -r requirements.txt) for python 3.7

  3. Run main.py

You should get something similar to the following image, showing the evolution of the order book for each price level along time.

Sample Output

orderbook-viz's People

Contributors

alisiocomputing 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.