We take an orderbook snapshot from Binance, and aggregate it to various levels of price granularity using python. We take special measure to avoid problems created by floating point numbers, and provide an alternative using only integers at the end.
⭐ Code:
https://github.com/ChadThackray/order...
Binance API docs:
https://binance-docs.github.io/apidoc...
Timestamps:
00:00 - Intro
02:06 - Pulling our market depth snapshot
06:42 - Aggregating using Floats
33:19 - Using Integers to reduce floating-point errors
Sur cette page du site, vous pouvez voir la vidéo en ligne Aggregating Orderbook levels in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Chad Thackray 10 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,037 fois et il a aimé 152 téléspectateurs. Bon visionnage!