Some listings e.g. XECX have different listings at the same price. In this case, the sort is random.
Apply a second dimension sort of the min buy amount to distinguish between these listings.
Differential D17419
[Cashtab] Sort OrderBook by price and then min buy amounts bytesofman on Sun, Dec 29, 15:53. Authored by Tags None Subscribers None
Details
Some listings e.g. XECX have different listings at the same price. In this case, the sort is random. Apply a second dimension sort of the min buy amount to distinguish between these listings. npm test, I did not add a specific test for this sort bc it is basically a JS primitive, can visit test site and see XECX listing page deployed here
Diff Detail
|