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

fix:duplicate condition in limit removal logic #27

Closed thethepai closed 1 week ago

thethepai commented 1 week ago

Corrected the duplicate condition in the limit removal logic where both conditions were checking for the presence of the left child and absence of the right child.

Updated one condition to check for the presence of the right child and absence of the left child.