Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cheradenine

Pages: [1]
1
Aitor thanks for your suggestions, I ended up stopping using the strategy on kraken and I am using only the stepgrid autocontroller on binance.

Anyway yes, I also think that there must be some default value that makes impossible or very difficult for the bot to buy on Kraken.

timalan34 maybe you can compare the code for binanceus and kraken and see what is different

2
Technical Support & Development / acSga autoconfig: gunbot almost never buys
« on: September 11, 2021, 08:53:46 AM »
First of all hello everybody!

I am a fairly new gunbot user.
I am trying to use Sga controller on kraken, with 8 pairs using USD as a base currency, the compound version of the controller.
Avaliable base is around 5900 $
The autoconfig selected 8 pairs, but then in almost one week was able to trade only once on one pair.
Gunbot v23.0.4
Sga controller version 1.19

In the logs I see this message:

Code: [Select]
Sep 11 09:29:23 gunbot gunthy-linux[42365]: #015
Sep 11 09:29:23 gunbot gunthy-linux[42365]: USD-LTC@kraken end of grid parsing
Sep 11 09:29:23 gunbot gunthy-linux[42365]: #015
Sep 11 09:29:23 gunbot gunthy-linux[42365]:
...
Sep 11 09:29:23 gunbot gunthy-linux[42365]: Sentiment score: -2
Sep 11 09:29:23 gunbot gunthy-linux[42365]: we got data
Sep 11 09:29:23 gunbot gunthy-linux[42365]: case: open new position immediately
Sep 11 09:29:23 gunbot gunthy-linux[42365]: order blocked by trend protection: not bullish
Sep 11 09:29:23 gunbot gunthy-linux[42365]: spotGridAdvanced round finished

So the problem is with trend protection?

this is the definition of the pair created by the autoconfig
Code: [Select]
        "kraken": {
            "USD-LTC": {
                "strategy": "acSga",
                "enabled": true,
                "override": {
                    "BUY_METHOD": "spotGridAdvanced",
                    "SELL_METHOD": "spotGridAdvanced",
                    "$MAX_PAIR_PER_BASE": 8,
                    "BUY_ENABLED": true,
                    "SELL_ENABLED": true,
                    "MIN_VOLUME_TO_SELL": 60,
                    "GRID_MULTIPLIER": 1.5906170894976654,
                    "MAX_BUY_COUNT": 10,
                    "TRADING_LIMIT": 66,
                    "PERIOD": 5,
                    "SMAPERIOD": 50,
                    "AUTO_GAIN": true,
                    "GAIN": 0.1,
                    "TRAILING_MULTIPLIER": 1,
                    "START_CONT_TRADING": 4,
                    "TL_MULTIPLIER": 1.1,
                    "CT_TL_MULTIPLIER": 0.8,
                    "STOP_AFTER_SELL": false,
                    "NEED_PREPROCESSING": false,
                    "NEED_POSTPROCESSING": false,
                    "TOTAL_BASE_VALUE": 0,
                    "BAG_SIZE": "none",
                    "TREND_OPEN": true,
                    "TREND_BLOCK_DCA": false,
                    "TREND_LOWER_DCA": true,
                    "START_PERIOD_CHANGE": 3,
                    "timestamp": 1631054101,
                    "BAG_VALUE": 141.23508,
                    "BASE_VALUE_HISTORY": "[{\"timestamp\":1631054331.486,\"value\":5906.7101}]",
                    "BASE_RESERVE_PCT": 0
                }
            },
 

and this is the strategy:

Code: [Select]
        "acSga": {
            "ADX_ENABLED": false,
            "ADX_LEVEL": 25,
            "ATRX": 0.5,
            "ATR_PERIOD": 14,
            "BTC_MONEY_FLOW": 35,
            "BTC_PND_PERIOD": 14,
            "BTC_PND_PROTECTION": false,
            "BUYLVL": 1,
            "BUYLVL1": 0.6,
            "BUYLVL2": 2,
            "BUYLVL3": 70,
            "BUY_ENABLED": true,
            "SINGLE_BUY": false,
            "BUY_LEVEL": 1,
            "BUY_METHOD": "spotGridAdvanced",
            "BUY_RANGE": 0.5,
            "CANDLES_LENGTH": 200,
            "COUNT_SELL": 9999,
            "DISPLACEMENT": 26,
            "DI_PERIOD": 14,
            "DOUBLE_CHECK_GAIN": true,
            "DOUBLE_UP": false,
            "DOUBLE_UP_CAP": 1,
            "DU_BUYDOWN": 2,
            "DU_CAP_COUNT": 0,
            "DU_METHOD": "HIGHBB",
            "EMA1": 16,
            "EMA2": 8,
            "EMA3": 150,
            "EMASPREAD": false,
            "EMA_LENGTH": 50,
            "EMAx": 0.5,
            "FAST_SMA": 50,
            "FUNDS_RESERVE": 0.0001,
            "GAIN": 0.5,
            "HIGH_BB": 0,
            "ICHIMOKU_PROTECTION": true,
            "IGNORE_TRADES_BEFORE": 0,
            "LIQUIDITY": false,
            "LIQUIDITY_TAKER": false,
            "LIQUIDITY_GAIN": true,
            "MAX_INVESTMENT": 1,
            "NASH_LEAGUE": false,
            "NASH_TIMER": 300,
            "IS_MARGIN_STRAT": false,
            "KEEP_QUOTE": 0,
            "KIJUN_BUY": false,
            "KIJUN_CLOSE": false,
            "KIJUN_PERIOD": 26,
            "KIJUN_SELL": false,
            "KIJUN_STOP": false,
            "KUMO_BUY": false,
            "KUMO_CLOSE": false,
            "KUMO_SELL": false,
            "KUMO_SENTIMENTS": true,
            "KUMO_STOP": true,
            "LEVERAGE": 0,
            "LONG_LEVEL": 1,
            "LOW_BB": 0,
            "MACD_LONG": 20,
            "MACD_SHORT": 5,
            "MACD_SIGNAL": 10,
            "MAKER_FEES": false,
            "TAKER_FEES": false,
            "MARKET_BUY": false,
            "MARKET_BUYBACK": false,
            "MARKET_CLOSE": false,
            "MARKET_DU": false,
            "MARKET_FOK": false,
            "MARKET_RTBUY": false,
            "MARKET_RTSELL": false,
            "MARKET_SELL": false,
            "MARKET_STOP": false,
            "MEAN_REVERSION": false,
            "MFI_BUY_LEVEL": 30,
            "MFI_ENABLED": false,
            "MFI_LENGTH": 14,
            "MFI_SELL_LEVEL": 70,
            "MIN_VOLUME_TO_BUY": 0.001,
            "MIN_VOLUME_TO_SELL": 0.001,
            "NBA": 0,
            "PANIC_SELL": false,
            "PERIOD": 15,
            "PP_BUY": 0,
            "PP_SELL": 99999,
            "PRE_ORDER": false,
            "PRE_ORDER_GAP": 0,
            "RENKO_ATR": false,
            "RENKO_BRICK_SIZE": 0.0001,
            "RENKO_PERIOD": 15,
            "ROE": 1,
            "ROE_CLOSE": false,
            "ROE_LIMIT": 1,
            "ROE_TRAILING": false,
            "ROE_SCALPER": false,
            "ROE_SPREAD": 0,
            "RSI_BUY_ENABLED": false,
            "RSI_BUY_LEVEL": 30,
            "RSI_DU_BUY": 30,
            "RSI_LENGTH": 14,
            "RSI_METHOD": "oscillator",
            "RSI_SELL_ENABLED": false,
            "RSI_SELL_LEVEL": 70,
            "RT_BUY_LEVEL": 2,
            "RT_BUY_UP_LEVEL": 0,
            "RT_ENABLED": false,
            "RT_GAIN": 1.5,
            "RT_MAXBAG_PROTECTION": 10,
            "RT_ONCE": false,
            "RT_ONCE_AND_CONTINUE": false,
            "RT_SELL_UP": 0.3,
            "RT_TREND_ENABLED": false,
            "SELLLVL": 1,
            "SELLLVL1": 0.6,
            "SELLLVL2": 2,
            "SELLLVL3": 70,
            "SELL_ENABLED": true,
            "SELL_METHOD": "spotGridAdvanced",
            "SELL_RANGE": 0.5,
            "SENKOUSPAN_PERIOD": 52,
            "SHORT_LEVEL": 1,
            "SLOW_SMA": 150,
            "SLOW_STOCH_K": 3,
            "SL_DISABLE_BUY": false,
            "SL_DISABLE_SELL": false,
            "SMAPERIOD": 50,
            "STDV": 2,
            "STOCHRSI_BUY_LEVEL": 0.2,
            "STOCHRSI_ENABLED": false,
            "STOCHRSI_LENGTH": 14,
            "STOCHRSI_METHOD": "oscillator",
            "STOCHRSI_SELL_LEVEL": 0.8,
            "STOCH_BUY_LEVEL": 20,
            "STOCH_D": 3,
            "STOCH_ENABLED": false,
            "STOCH_K": 14,
            "STOCH_METHOD": "oscillator",
            "STOCH_SELL_LEVEL": 80,
            "STOP_LIMIT": 9999,
            "TAKE_BUY": false,
            "TAKE_PROFIT": false,
            "TBUY_RANGE": 0.5,
            "TENKAN_BUY": true,
            "TENKAN_CLOSE": true,
            "TENKAN_PERIOD": 9,
            "TENKAN_SELL": true,
            "TENKAN_STOP": false,
            "TL_ALLIN": false,
            "TL_PERC": 0,
            "TM_RT_SELL": false,
            "TP_PROFIT_ONLY": true,
            "TP_RANGE": 0.5,
            "TRADES_TIMEOUT": 0,
            "TRADING_LIMIT": 0.002,
            "TRAIL_ME_BUY": false,
            "TRAIL_ME_BUY_RANGE": 0.5,
            "TRAIL_ME_DU": false,
            "TRAIL_ME_RT": false,
            "TRAIL_ME_RT_SELL_RANGE": 0.5,
            "TRAIL_ME_SELL": false,
            "TRAIL_ME_SELL_RANGE": 0.5,
            "TSSL_TARGET_ONLY": true,
            "USE_RENKO": false,
            "XTREND_ENABLED": true,
            "STOP_BUY": 0,
            "STOP_SELL": 0,
            "PND": false,
            "PND_PROTECTION": 1.5,
            "SupportResistance": false,
            "SupRes_ALLOW_DCA": true,
            "SupRes_SPREAD": 0.1,
            "SupRes_LVL_SPREAD": 1,
            "SupRes_MAX": 0,
            "SupRes_TIMER": 300,
            "SupResMinROE": 20,
            "MAX_BUY_COUNT": 20,
            "GRID_MULTIPLIER": 1,
            "STOP_AFTER_SELL": false,
            "AUTO_GAIN": true,
            "TRAILING_MULTIPLIER": 1,
            "START_CONT_TRADING": 3,
            "CT_TL_MULTIPLIER": 0.5,
            "CT_RESTART_MULTIPLIER": 1,
            "TL_MULTIPLIER": 1,
            "MAX_OPEN_CONTRACTS": 1,
            "DCA_METHOD": "NATIVE",
            "DCA_SPREAD": 2,
            "SAFETY_TIMER": 1800,
            "TREND_OPEN": false,
            "TREND_BLOCK_DCA": false,
            "TREND_LOWER_DCA": false,
            "DIRECTION": "LONG",
            "TREND_CT_MULTIPLIER": 2,
            "TREND_GRID_MULTIPLIER": 2,
            "AUTO_STEP_SIZE": true,
            "STEP_SIZE": 500,
            "ENFORCE_STEP": false,
            "STRAT_FILENAME": "filename.js"
        }
 

Another info: I am using also the bot on binance, again in autoconfig but this time with stepGrid, and everything is working as expected.
So I first installed the stepGrid controller for binance; after some times I added the jobs for acSga controller on kraken to autoconfig, and acSga strategy to config.
I don't this can be the cause of the problem as the two autoconfig should operate separately, the first on binance and the second one on kraken. After I added the acSga, the stepGrid pairs on binance were not influenced.

autoconfig.json is attached

Many thanks in advance!

Pages: [1]