Cancel orders

Info about settings that control how Gunbot handles cancelling open orders.

Settings for cancelling orders are global, they affect all trading pairs.

To change them, go to Global settings > Cancel orders

The default behavior is to cancel open orders when prices move away from the order rate, to give the bot another chance to place an order at a rate that is more likely to fill.

If you find it is too sensitive and cancels orders faster than you'd like to see, consider using the "oncap" option, which is more or less time based.

Settings descriptions

Below you'll find detailed descriptions for cancel orders settings.

Cancel orders enabled

When set to true, the bot will cancel unfilled or partially filled orders when the price has moved away from the buy or sell price.

Set this to false if you also trade manually to prevent the bot from cancelling your open orders.

Simulated Fill Or Kill (FOK)

When an order is not or only partially filled and gets cancelled, Gunbot will attempt to fill the order by replacing it at current bid/ask.

For buy orders this means that FOK orders are sent as long as the number of quote units held are worth less than TRADING_LIMIT and the difference is higher than MIN_VOLUME_TO_BUY.

For sell orders this means that FOK orders are sent as long as the number of quote units held (minus KEEP_QUOTE, if used) are worth more than MIN_VOLUME_TO_SELL and bid is higher than the break-even point.

Cancel orders cycle cap

This only applies when using MAKER_FEES or CANCEL_ONCAP.

Set the number of rounds that pending orders need to be kept open. After this number of rounds passes, Gunbot will cancel the pending order.

Cancel orders oncap

Enabling this changes the behavior of cancelling orders: orders are cancelled after CANCEL_ORDERS_CYCLE_CAP passes.

Last updated