Open raladev opened 4 years ago
Problem: Order replacement is starting after order filling, but CEX balance update starts after order replacement. And because of that there is a case when arby places order that depends on old cex balance (see screen)
Solution: check cex balance before order creation
Problem: Order replacement is starting after order filling, but CEX balance update starts after order replacement. And because of that there is a case when arby places order that depends on old cex balance (see screen)
Solution: check cex balance before order creation