Gunbot Shop › Gunbot Forum › General Discussion › Gunbot v24.x Beta changelogs
Gunbot v24.1.5 Stable Release
– this build also fixes coin-m positions for okgunbot/okex hedge strategies.
Download link: https://gunbot.shop/gunbot-v24-1-5-download-and-changelogs/
Gunbot Shop - https://gunbot.shop
Gunbot v24.1.6 Release Candidate
– Possible fix for huobi, bybit, okgunbot traders arrows and volume mixup in the charts.
(if you are trading in one of the above exchanges it is highly recommended to update to this build, else your trading history is broken)
– Fix bittrex pais list in trading settings.
– Fix case where gui set spot market type for bybit.
– Fix available strategy list for okx / okgunbot swap/futures.
Overview sidebar: increase decimal precision for Unrealized PnL for okgubot/okex coin-m markets
– Update max unhedged tooltip.
– Fix tooltip for testnet api keys.
– Trading settings: fix strategy hint for bbta.
– sghybrid: add additional entry fractals to TA_MODE.
– Add sgh trend module as method for custom strategies. Requires pair to atively cycle in Gunbot. Usage: await gb.method.getTrend(‘USDT-BTC’, ‘okgunbot’)
Gunbot Shop - https://gunbot.shop
Gunbot v24.1.7 Release Candidate
-Fix sghedge for coin-m at okgunbot.
– Possible fix for stepgridhybrid at okgunbot/okx.
– Stepgridhybrid: add new ‘trend orders’ setting, can be used to disable trend based orders from ‘trend basic’ and ‘trend plus’,.
– Stepgridhybrid: add new ‘Trading range DCA stop’ option, for manual trading range mode. Below this price, no dca orders are allowed.
– Futuresgrid: new setting: “First order delay” (in seconds) sets an additional delay after initially opening a position, to deal with cases where exchanges update balances slowly.
– Fix bybit hedge trading history. If you are running bybit with 24.1.5 or above it is highly recommended to upgrade to this build.
Gunbot Shop - https://gunbot.shop
Gunbot v24.1.8 Release Candidate
Add sgh trend module as method for custom strategies. Requires pair to actively cycle in Gunbot. Usage: await gb.method.getTrend(‘USDT-BTC’, ‘okgunbot’)
– Futuresgrid: fix first order delay for shorts.
– Fix futures_gunthy tickers error.
– Fix MEXC candles error.
Gunbot Shop - https://gunbot.shop
Gunbot v24.1.8 Release Candidate
Add sgh trend module as method for custom strategies. Requires pair to actively cycle in Gunbot. Usage: await gb.method.getTrend(‘USDT-BTC’, ‘okgunbot’)
– Futuresgrid: fix first order delay for shorts.
– Fix futures_gunthy tickers error.
– Fix MEXC candles error.
Gunbot Shop - https://gunbot.shop
Gunbot v24.2.0 Release Candidate
– Fix sg hedge for coin-m at okx/okgb.
– Fix trading terminal limit orders for okx/okgb.
Gunbot Shop - https://gunbot.shop
Gunbot v24.2.1 (stable preview)
With the fix of okex limit orders we are done with fixing reported critical bugs from latest stable.
Gunbot Shop - https://gunbot.shop
Gunbot v24.2.3 Stable Release
This release fixes all critical bugs reported in the previous release.
https://gunbot.shop/gunbot-v24-2-3-download-and-changelogs/
Gunbot Shop - https://gunbot.shop
Gunbot v24.2.4_beta
– implement tradingview alerts using webhooks
Instructions:
– set this in your config.js (in the next days we will publish this section in the gui, for testing edit it manually for now)
“webhooks”: {
“enabled”:true,
“port”:”443″,
“passphrase”: “123456”
},
Setup your alerts at tradingview and use the following format:
passphrase exchange order_type pair amount price
Examples:
123456 binance buy USDT-BTC 0.1 42553.4
123456 binance sell USDT-BTC 0.1 42553.4
123456 binanceFutures long USDT-BTC 0.1 42553.4
123456 binanceFutures short USDT-BTC -0.1 42553.4
123456 binanceFutures close USDT-BTC 0.1 42553.4
123456 binanceFutures close USDT-BTC -0.1 42553.4
The above alerts send all limit orders
To execute alerts with market orders, set price to zero
Example of a buy market order
123456 binance buy USDT-BTC 0.1 0
Step 2:
Configure at least 1 pair for each exchange you want to send alerts for
doesn’t matter the pair
doesn’t matter the strategy
that pair will not spin with Gunbot: you just need to tell Gunbot which exchanges it should instantiate by configuring at least 1 pair for each of them
This is what you would see in your Gunbot listening for webhooks
nothing else but the executed orders when you receive them
setup Alerts at tv with “Webhook URL”
use your_gunbot_ip:443/ (https:// first)
actually it is not possible to use http protocol or a different port than 443 by tradingview limitations.
in order to facilitate bugs hunting I’ve done 2 things:
1.- I’ve enabled testnet for all ccxt supported exchanges: just set “testnet”: true in your config.js same place you set your api keys and spin it on testnet.
2.- There are 10k USDT rewards for bug hunters, I will publish rules in beta room, the more you report and your reports are acknowledged and fixed, the bigger cut you get from the cake.
What kind of reports we want:
1.- we want to test every single Gunbot strategy and audit them verifying they are correctly behaving in all the major exchanges you are using.
Gunbot Shop - https://gunbot.shop
Gunbot v24.2.5_beta
– Enable TV_GB for web hooks, set it true and gunbot would spin any pair/strategy in config.js AND will listen for alerts
– Fix okex5 market buy orders.
– Fix okex5/okgunbot telegram notifications charts link.
custom strategies: custom chart lines
usage: place chart targets in pair ledger as an array of objects.
number of lines and/or line properties can be changed at any time.
example:
gb.data.pairLedger.customChartTargets = [
{
text: ‘some custom target line’, // each line needs a unique text
price: 91,
quantity: ‘999’, // setting an empty string ” omits the quantity field
lineStyle: 2, // 0: solid, 1: dotted, 2: dashed
lineLength: 5, // 0 (right) – 100 (left)
extendLeft: false,
bodyBackgroundColor: ‘rgba(255, 255, 255, 1)’, // can also be set as hex string
bodyTextColor: ‘rgba(0, 0, 0, 0.7)’,
bodyBorderColor: ‘rgba(34, 116, 165, 1)’,
quantityBackgroundColor: ‘rgba(34, 116, 165, 1)’,
lineColor: ‘rgba(34, 116, 165, 1)’,
}
]
—–
line text cannot be any of the following reserved names:
[
“Resistance 1”,
“Resistance 2”,
“Support 1”,
“Support 2”,
“Buy at”,
“Pingpong buy”,
“Sell at”,
“Sell target”,
“Pingpong sell”,
“Break even”,
“Unit cost”,
“Entry Price”,
“Break even (short)”,
“Entry Price (short)”,
“RT BUY at”,
“RT BUY UP at”,
“RT SELL at”,
“RT SELL at “,
“RT SELL UP trailing stop”,
“Buy trailing stop (tssl)”,
“RT Buy trailing stop”,
“Sell trailing stop (tssl)”,
“Buy trailing stop ™”,
“Sell trailing stop ™”,
“DCA trailing stop”,
“ROE trailing stop”,
“ROE scalper stop”,
“Stop limit”,
“DCA buydown”,
“Grid DCA target”,
“Grid sell target”,
“CLOSE at (fg)”,
“Grid sell trailing”,
“Grid sell trailing (fg)”,
“Grid buy trailing”,
“Grid buy trailing (fg)”,
“New position trailing”,
“New position trailing (fg)”,
“Buy target (c)”,
“DCA target (c)”,
“Sell target (c)”,
“Close target (c)”,
“Trailing target (c)”,
“Stop target (c)”
]
—————
custom strategies: send gui notifications
usage: place one or more notifications in an array of objects in pair ledger.
once shown, the gui clears out the displayed notifications in pair ledger.
example:
gb.data.pairLedger.notifications = [
{
text: ‘custom success notification’,
variant: ‘success’, // green
persist: true // notifications stays visible until dismissed
},
{
text: ‘custom error notification’,
variant: ‘error’, // red
// persist can be omitted
},
{
text: ‘custom info notification’,
variant: ‘info’, // blue
persist: false
},
{
text: multi line notification \n\nallow for more information spread over \nmultiple lines of text
,
variant: ‘error’,
persist: true,
}
]
———————-
Gunbot Shop - https://gunbot.shop
Gunbot v24.2.7_beta
– possible fix for bittrex market orders.
– webhooks: enable “strat” command to change strategy of a pair. Syntax:
passphrase exchange strat pair name_of_strategy_here 0
Example:
123456 okgunbot strat ETH-AVAX superCoolDCA 0
– webhooks: enable TV_PROTECTION for webhooks. If you set it true in bot section of your config it will not sell if ROE is negative.
You can send price 0 in the alert, to use sell triggers to DCA.
Example, if you set TV_PROTECTION true and you send this command, it will use the sell entry point to DCA instead to sell:
123456 okgunbot sell ETH-AVAX 0 0
Example, if you set TV_PROTECTION true and you send this command, it will not sell and just ignore the alert:
123456 okgunbot sell ETH-AVAX 0 {{close}}
– change position of date/time in gui notifications.
– Add option to hide balance related data in GUI.
– Trading settings: fix crash when pair with user preset strategy has different buy/sell methods set in overrides than in the strategy itself.
– Add gui notifications for stepgrid strategy family, for cases where hitting a step doe not lead to an order.
– stepgridhedge: show current trend direction on chart, when ‘use trend’ is enabled.
– Trend module: refactor supertrend calculation.
Gunbot Shop - https://gunbot.shop
Gunbot v24.2.9_beta
– Fix issue in gui api key validation that could let invalid keys get verified.
– Make GUI add webhooks section to config in case it is missing. Add date, pair and exchange name to gui notifications.
– Add more descriptive error messages when wrong gunthy wallet is entered on /setup.
– Fix several cases where missing config elements could lead to the gui receiving no updated data.
– Setup page: fix problem that prevented entering exchange delay >60s.
– PNL page: make ‘All’ the default selection.
– Update unit cost tooltip.
– Improve gui notifications formatting & persistency.
– stepgridhybrid: add separate sell trailing settings, so different ranges can be used for buy and sell trailing. Configurable in ‘Customize trailing’ category in trading settings.
– Setup page: remove kraken futures market selection option.
– Add timescale marks to charts, showing relevant strategy info and order details.
– Improve gui notification styling on mobile devices.
– Fix SELL_STEP_MULTIPLIER tooltip.
– Trading settings: add support for adding/removing/updating user defined settings for use with AutoConfig or custom strats.
– Change position of ‘add custom’ button.
– Trading settings: add search option for individual strategy settings.
– Trading settings: improve layout of selecting strategy/buy-/sell method on mobile.
– Trading settings: small styling changes.
– Several styling improvements.
– stepgridhybrid: show custom trading range mode targets on chart.
– Custom strats: add setTimeScaleMark method.
– Disable persistency for grid strat gui notifications, because the same info is now historically available on the chart.
– Improve mark texts.
Custom strats: new method to save chart timescale marks.
Usage example:
gb.method.setTimeScaleMark(gb.data.pairName, gb.data.exchangeName, ‘Info message to show as a timescale mark on the chart.’)
If multiple messages get stored for the same candle, they will be shown together in one mark. Timestamp is set automatically, no need to include it in the message text.
Gunbot Shop - https://gunbot.shop
Gunbot v24.3.0_beta
trend orders: When used together with “trend orders: true”, such trend initiated orders are restricted to be allowed only during a 4h uptrend Trend trailing: Automatically use different buy trailing ranges for bearish situations. The aim is to spend less on buy orders when price is not moving upwards, by using much bigger trailing ranges Trend trailing multiplier (small): Trailing range multiplier to use when 4h structure is bullish, but 15m structure is bearish. \n\nSets buy trailing range to “multiplier * ATR”, or if you use a custom pct trailing range, to “multiplier * pct trailing range” Trend trailing multiplier (big): ‘Trailing range multiplier to use when 4h structure is bearish and 15m structure is not bullish or is bearish. Sets buy trailing range to “multiplier * ATR”, or if you use a custom pct trailing range, to “multiplier * pct trailing range”.
– Fix time string offset in chart timescale.
– Trend module: compact logs a bit, tune conditions for sghybrid ‘trend trailing’.
Gunbot Shop - https://gunbot.shop