Sides maintained in correct order Can perform orderbook checksums Supports max depth and depth truncation You can run the performance tests like so: python perf/performance_test.py. The program will ...
from decimal import Decimal import requests from order_book import OrderBook ob = OrderBook() # get some orderbook data data = requests.get("https://api.pro.coinbase ...