Crypto-toolbox/HFT-Orderbook

Is using lob.py enough?

adacumos opened this issue · 5 comments

Thanks for your implementation on this one, I looking at integrating it on my python based trading algorithm and would like to ask if just by using lob.py will suffice to use your orderbook? Or do I have to compile C implementation keep it running on the background?

TIA

The C implementation is fully tested and working as expected - the python implementation, however, is not. I recommend using the C implementation.

Have you got some samples in C on how to consume your orderbook implementation?

@cofibit I can help you offline. You have an email?

@tcccapinfo cool e-mail me at arvindacumos@gmail.com thanks

@tcccapinfo I am also trying to understand how to use this.

If I have Limit *root as the root of the tree, and I want to add Order* order to the tree, how do I do so?
I believe I have to use pushOrder(Limit *limit, Order *newOrder) but how do I get limit (the Limit where limitPrice == newOrder->limit)? Does it require an additional function to iterate through the tree and find limit? My email is wardbradt5@gmail.com if email is preferred.