Crypto-toolbox / HFT-Orderbook

Limit Order Book for high-frequency trading (HFT), as described by WK Selph, implemented in Python3 and C
MIT License
1.02k stars 258 forks source link

Question: Why not use FastAVLTree from bintrees? #13

Closed kjgd closed 6 years ago

kjgd commented 6 years ago

The bintrees package provides a C implementation of AVL trees, FastAVLTree. If the aim is to write everything from scratch as an academic exercise, that's understandable -- but is there a practical reason not to use it?

deepbrook commented 6 years ago

Hey @kjgd , sorry for the late response! It started out as an academic excercise, that's why everything was initially written from scratch. However, this is no longer the case, so a better implementation than what I currently have is certainly favorable!