You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bot is counting just last sell when volatile market cause partially filled sell is cancelled and new sell is created.
To Reproduce
Make higher value order to not be processed at once.
Make market close order with multiple partial sells.
There is a chance sell will be cancelled after partially sold and new sell order will be created to be filled.
Expected Behaviours
All sells on order created by bot have to be counted.
Screenshots
Trade history on Binance:
Trade history recorder by bot:
Additional context
There were two sell orders created. One 459,6317236 BUSD at 19:07:14 as partially filled as maker and then cancelled and one 544.8021018 BUSD at 19:07:20 filled as taker. Both made by bot automatically.
The text was updated successfully, but these errors were encountered:
uhliksk
changed the title
Partial fill is not processed correctly when there are mixed maker and taker sells
Partial fill is not processed correctly when multiple sell orders are made
Jan 4, 2023
I don't have a log as I noticed it too late but what I think happend is because 1st sell order has been cancelled bot started counting sum of sale again when 2nd sell order has been created because there were just 544.80210 BUSD left when it created 2nd sell order. If you sum sales made at 19:07:21 that's exactly 544.8021018 BUSD.
I've seen few times same thing in buy orders when too big profit was calculated because only second buy order part was counted to buy side but this was not blocking issue as bot just then sold available amount of asset so I didn't paid attention to this.
Version
v0.0.96
Description
Bot is counting just last sell when volatile market cause partially filled sell is cancelled and new sell is created.
To Reproduce
Expected Behaviours
All sells on order created by bot have to be counted.
Screenshots
Trade history on Binance:

Trade history recorder by bot:

Additional context
There were two sell orders created. One 459,6317236 BUSD at 19:07:14 as partially filled as
maker
and then cancelled and one 544.8021018 BUSD at 19:07:20 filled astaker
. Both made by bot automatically.The text was updated successfully, but these errors were encountered: