Misc Settings
These strategy settings control your stop limit, order type per trigger, and other uncategorized features.
Stop Loss settings
| Label | Config Parameter | Default Value | Detailed Description |
|---|---|---|---|
| Stop limit | STOP_LIMIT | 99 | Sets the threshold for activating a stop loss at a specified percentage or ROE below the break-even point. The value represents a Return on Equity (ROE) below break-even. |
| SL disable buy | SL_DISABLE_BUY | false | Prevents new buy orders once the stop limit is reached, helping to avoid further losses in a declining market. |
Miscellaneous settings
| Label | Config Parameter | Default Value | Detailed Description |
|---|---|---|---|
| Market buy | MARKET_BUY | false | When enabled, places buy orders as market orders instead of limit orders. This ensures immediate execution but may involve higher costs due to slippage. |
| Market sell | MARKET_SELL | false | Sets sell orders to execute as market orders, guaranteeing immediate execution at the current market price but reducing price control. |
| Market stop | MARKET_STOP | false | Configures stop orders to be placed as market orders. This is useful for strategies that require rapid execution during fast market movements. |
| Market RTbuy | MARKET_RTBUY | false | Allows RT Buy orders to be executed as market orders. This ensures quick entry but may result in purchasing at a higher than expected price. |
| Market RTsell | MARKET_RTSELL | false | Enables RT Sell orders to be market orders, supporting swift exits during volatile market conditions. |
| Market buyback | MARKET_BUYBACK | false | When activated, RT buyback orders are executed as market orders, ensuring immediate re-entry after a sell. |
| Market DU | MARKET_DU | false | Places Double Up orders as market orders, which can be crucial for strategies that need to average down positions quickly during market dips. |
| Market fok | MARKET_FOK | false | Enables Fill or Kill (FOK) orders to be placed as market orders. These must be filled immediately in their entirety or not at all, providing stricter execution conditions. |
| Panic sell | PANIC_SELL | false | Sells all quote units at the market price immediately for fast liquidation in emergencies. It may result in losses but provides a rapid exit during sudden downturns. |
| Trades timeout | TRADES_TIMEOUT | 0 | Sets a timeout period in seconds during which no new orders will be placed. Useful for pausing trading during high volatility or uncertainty without disabling pairs. |
| Ignore trades before | IGNORE_TRADES_BEFORE | 0 | Allows the system to ignore all trades before a specified timestamp, resetting strategies without considering past performance. Values should be in unix timestamp format in milliseconds. |
| Bought price | BOUGHT_PRICE | Values | Allows manual specification of a reference price per unit that Gunbot should consider when selling an asset, especially when exchange data is missing or incomplete. Should only be used when necessary, and can be overridden by using IGNORE_TRADES_BEFORE and deleting the pair's state JSON file. |
| Never buy above | NBA | 0 | Restricts buy orders to execute only when the ask price is at least a specified percentage below the last sell rate. Setting it to 0 disables this feature. |
| Take profit | TAKE_PROFIT | false | Enables the Take Profit feature, allowing the system to lock in profits by selling when profit conditions are met. |
| TP profit only | TP_PROFIT_ONLY | false | When Take Profit is enabled, this setting ensures that sales are only made when they result in a profit. |
| TP range | TP_RANGE | 0.5 | Sets the range, in percentage, within which the Take Profit mechanism activates, defining the profit-taking threshold. |
| Take buy | TAKE_BUY | false | Enables the Take Buy feature, which triggers buy orders based on predefined conditions aimed at capitalizing on expected price increases. |
| Take buy range | TBUY_RANGE | 0.5 | Defines the percentage range for the Take Buy feature, setting the conditions under which buy orders are initiated. |
| Liquidity provider | LIQUIDITY | false | Activates the liquidity provider strategy, which aims to generate a high volume of trades by providing liquidity on the spot market. Use this with an understanding of the associated risks and potential for a large number of transactions. |
| Liquidity taker role | LIQUIDITY_TAKER | false | Enables the taker side of the liquidity strategy, allowing the system to actively take liquidity from the market. |
| Liquidity gain | LIQUIDITY_GAIN | true | Ensures that sell orders placed under the liquidity provider strategy are profitable. If you turn this off, you allow for potential losses if it supports maintaining market liquidity. |
Overview of effects on different order types
| Config Parameter | Affected Order Types | Not Affected Order Types |
|---|---|---|
| Stop Limit | Stop limit | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Strategy sell |
| SL Disable Buy | Stop limit | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Strategy sell |
| SL Disable Sell | Stop limit | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Strategy sell |
| Panic Sell | Stop limit | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Strategy sell |
| Trades Timeout | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Strategy sell | Stop limit |
| Count Sell | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Stop limit |
| Maker Fees | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Strategy sell | Stop limit |
| Ignore Trades Before | Strategy sell, Stop limit, DCA buy, RT sell | RT buy, RT buyback, Close, Strategy buy |
| Bought Price | Strategy sell, Stop limit, DCA buy, RT sell | RT buy, RT buyback, Close, Strategy buy |
| Liquidity Maker | Strategy buy, Strategy sell | Stop limit, RT Buy, RT buyback, RT sell, Close, DCA buy |
| Liquidity Taker | Strategy buy, Strategy sell | Stop limit, RT Buy, RT buyback, RT sell, Close, DCA buy |
| Liquidity Gain | Strategy sell | Strategy buy, Stop limit, RT Buy, RT buyback, RT sell, Close, DCA buy |
| Max Invested Base | Strategy buy, Strategy sell | Stop limit, RT Buy, RT buyback, RT sell, Close, DCA buy |
| Market Buy | Strategy buy | Stop limit, RT buy, RT buyback, RT sell, Close, DCA buy, Strategy sell |
| Market Sell | Strategy sell, Stop limit | RT buy, RT buyback, RT sell, Close, DCA buy, Strategy buy |
| Market RT Buy | RT buy | Stop limit, Strategy sell, RT buyback, RT sell, Close, DCA buy, Strategy buy |
| Market RT Sell | RT sell | Stop limit, Strategy sell, RT buyback, RT buy, Close, DCA buy, Strategy buy |
| Market Buyback | RT buyback | Stop limit, Strategy sell, RT sell, RT buy, Close, DCA buy, Strategy buy |
| Market DU | DCA buy | Stop limit, Strategy sell, RT sell, RT buy, Close, RT buyback, Strategy buy |
| Market Close | Close | Stop limit, Strategy sell, RT sell, RT buy, DCA buy, RT buyback, Strategy buy |
| Market Stop | Stop limit | Close, Strategy sell, RT sell, RT buy, DCA buy, RT buyback, Strategy buy |
| Market FOK | FOK orders within CANCEL_ORDERS_CYCLE_CAP | Stop limit, Close, Strategy sell, RT sell, RT buy, DCA buy, RT buyback, Strategy buy |
| Take Buy | Strategy buy | Strategy sell, Stop limit, Close, RT sell, DCA buy, RT buy, RT buyback |
| TBuy Range | Strategy buy | Strategy sell, Stop limit, Close, RT sell, DCA buy, RT buy, RT buyback |
| Take Profit | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Stop limit |
| TP Range | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Stop limit |
| TP Profit Only | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, DCA buy, Stop limit |