Bug info:
Stop the bot ‘Close by LIMIT’ closes by MARKET anyway.
I stopped a bot in profit with the ‘Close by LIMIT’ option selected. But it closed the deal with a MARKET order anyway resulting in an unexpected loss due to a lack of volume.
I don’t know if the ‘LIMIT’ option has a timer before it chooses MARKET but at least give me a choice like this: “The bot was unable to stop by LIMIT after 60 seconds, would you like to Close at MARKET or keep trying at LIMIT for X amount of time (X is a user imput).” Or something similar.
Bot URL → 6616ce23c5fb3439a27fc5db
[Optional] Steps to reproduce →
Expected result → Closes the Bot (or deal) by LIMIT
If the bot closes per limit but at the current market price, then your deals are likely to be closed with role taker at the exchange if the order can be filled immediately.
That could be, but I want the bot to close without it influencing the price.
So if the price is currently 1.00 and the bot has 1000 coins but there are only 100 coins to buy/sell for that price, it will buy/sell the 100 for that price and then wait X to buy/sell more for the price at X, lets say there are 400 available for 1.01 (or 0.99 for a sell), buy those, etc. until all coins are bought/sold. Even if this takes a while.
This will prevent massive price fluctuation when the bot tries to buy/sell all at once.
Order was filled with price 0.2013 which is not on the chart. First I though thta its a mistake in order processing, but after I checked log I can see that order has really strange match prices that way out of the candle.