[BUG] Order still shown as active after fill (pureMM ddex) #341
Describe the bug
I have an order filled at ddex with pure mm strat. The order is recognised as filled by the bot, but when querying "status", it will still show both the two original orders locally as active.
In the logs you can see that the bot is still searching for the order after it is filled ("Order not found in active asks").
Then, when the next round starts (after a bit more than 1 hour in this case - as cancel order wait time is 3660), the second order (that was never filled) gets cancelled and two new orders are placed according to config. Thing is: the filled order still appears in the active orders list (so that there is now 3 orders active from the bots perspective - but actually there are only 2 orders).
Steps To Reproduce
Here are the steps to reproduce the issue (see attachments in the section below):
WARNING: Do NOT publish any exchange API keys or your wallet's private key. Whoever has access to them may steal your assets!
Optional: your discord username: