mit-dci / opencx

An open-source cryptocurrency exchange toolkit for implementing experimental exchange features
MIT License
206 stars 66 forks source link

Fix matching algorithm #2

Closed Rjected closed 5 years ago

Rjected commented 5 years ago

I think the matching algorithm only runs for orders that are equal in price, disregarding whether or not the current best sell order is a lower price than the current best buy order. This is a simple fix, like 6 lines of code + database debugging, which gets tiring.