Skip to content

Visualization of the full depth of the order book along time

Notifications You must be signed in to change notification settings

ghgr/orderbook-viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Visualization of the full depth of the order book along time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages