@xerochttp://cryptofresh.com/b/7971599I want 1 BTSR for 11 BTS
Sell orders:
i should get: 11/8.999 = ~1,2223
So lets try:
How much i bought? 0,9999+0,2224 = 1,2223 which is correct
Did i bypassed orders? no:
(0.9999+260.5991) − (0.2224+0.9999) = 260,3767 correct - look sell orders after trade
9.00135 is bullshit, calculation error. Trade was correct.
edit:
Maybe would be not bad idea to set minimal order ammount to prevent "24hour change %" manipulations, which is very cheap now.