Closed Exalovic closed 6 years ago
oops, it seems like the code has never taken the amount of funds available at the buy side into account!!!
This fix was reverted in 9853a22aa15140986b6a106be8b4bf1c1776ff5c.
I pushed a commit that I believe should have resolved a possible root cause of this.
I've been getting several of these errors after the commits on dec 30:![6ch3zzq](https://user-images.githubusercontent.com/34724438/34539156-bbb2a628-f0cf-11e7-93a1-652c307afbc3.png)
It's very frustrating because it means I have to refund the coins again, leading to losses