This typescript implementation of is able to recieve both limit and cancel orders.
To run the test use npm test
.
To run the benchmark use npm run benchmark
. On my system it was able to execute 1.1 million orders per second. That is in average 0.9 microseconds per order.