Please can anyone shed some light on this?
I added more funds and I'm still having the above issue.
I have got 31 USDT on the exchange (spot wallet) which is 3 times more than the minimum trade limit of $10 USD.
Here's the exported config.js (set to test settings, buy 0.1 & gain 0.1, because I'm trying to trigger a buy)
{
"pairs": {
"binance": {
"USDT-BTC": {
"strategy": "gain_rsi",
"enabled": true,
"override": {}
}
}
},
"strategies": {
"gain_rsi": {
"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": 0.1,
"BUY_METHOD": "gain",
"BUY_RANGE": 0.5,
"CANDLES_LENGTH": 99,
"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": 1,
"FUNDS_RESERVE": 0.0001,
"GAIN": 0.1,
"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": true,
"MARKET_BUYBACK": false,
"MARKET_CLOSE": false,
"MARKET_DU": false,
"MARKET_FOK": false,
"MARKET_RTBUY": false,
"MARKET_RTSELL": false,
"MARKET_SELL": true,
"MARKET_STOP": false,
"MEAN_REVERSION": false,
"MFI_BUY_LEVEL": 30,
"MFI_ENABLED": false,
"MFI_LENGTH": 14,
"MFI_SELL_LEVEL": 70,
"MIN_VOLUME_TO_BUY": 11,
"MIN_VOLUME_TO_SELL": 11,
"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": 46,
"RSI_DU_BUY": 30,
"RSI_LENGTH": 14,
"RSI_METHOD": "oscillator",
"RSI_SELL_ENABLED": false,
"RSI_SELL_LEVEL": 52,
"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": "gain",
"SELL_RANGE": 0.5,
"SENKOUSPAN_PERIOD": 52,
"SHORT_LEVEL": 1,
"SLOW_SMA": 2,
"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": 4,
"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": true,
"TL_PERC": "0",
"TM_RT_SELL": false,
"TP_PROFIT_ONLY": true,
"TP_RANGE": 0.5,
"TRADES_TIMEOUT": 0,
"TRADING_LIMIT": 10000,
"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",
"unit_cost": false,
"DYNAMIC_EXIT_LOGIC": true,
"bitRage": false,
"FIRST_ORDER_EXTRA_DELAY": 30,
"TREND_TRAILING": true,
"TREND_TRAILING_MULTIPLIER": 1,
"TREND_TRAILING_BEARISH_MULTIPLIER": 2,
"AUTO_TREND_ORDERS": true
}
},
"exchanges": {
"binance": {
"key": "0Ym...",
"secret": "ece...",
"masterkey": "0Ym...",
"mastersecret": "ece...",
"passphrase": "xxxxx",
"clientId": "xxxxx",
"market": "spot",
"delay": 5,
"type": "binance",
"filteredBase": [],
"filteredQuote": [],
"filteredPair": [],
"TRADING_FEES": 0.075,
"includeCoins": "",
"autoPairs": false,
"tick_interval": 30,
"tick_time": false,
"isEncrypted": true,
"Triples": []
}
},
"bot": {
"json_output": "./json",
"debug": false,
"BOT_DELAY": 5,
"BOT_CCLEAN": 200,
"gunthy_wallet": "0x5...",
"CANCEL_ORDERS_ENABLED": true,
"CANCEL_ORDERS_CYCLE_CAP": 10,
"CANCEL_ONCAP": false,
"RESERVE_PILE_UP": false,
"interval_ticker_update": 25000,
"period_storage_ticker": 2000,
"timeout_buy": 59000,
"timeout_sell": 60000,
"TRADING_LIMIT_BUY_PYRAMID": 50,
"TV_GAIN": 0.6,
"TV_TRADING_LIMIT_BUY": 50,
"TV_TRADING_LIMIT_BUY_PYRAMID": 50,
"TV_PYRAMID": false,
"TV_TRADING_LIMIT_SELL": 50,
"TV_PROTECTION": false,
"TV_MARKET_ORDERS": true,
"TV_TRADING_LIMIT_CAP": 0.0001,
"TV_STOPLOSS_PERCENTAGE": 60,
"TV_TRADING_LIMIT_ALLIN": false,
"TV_MVTS": 0.0001,
"TV_GB": false,
"TV_LEVERAGE": 0,
"TV_LENDING": 0.02,
"TV_CLOSE_ALL": false,
"RETRY_TV_ORDER": false,
"VERBOSE": true,
"WATCH_MODE": false,
"MULTIPLE_BASE": false,
"withdraw_address": "xxxxx",
"withdraw_threshold": 0.5,
"TELEGRAM_ENABLED": false,
"TG_ORDER_TIMEOUT": 0,
"TG_TEST": false,
"TG_PL_ONLY": false,
"TELEGRAM_NICK": "xxxxx",
"TOKEN": "bot...",
"BR_TOKEN": "bot...",
"TG_AUTOCONFIG": false,
"chat_id": "123...",
"admin_id": "123...",
"OLD_TELEGRAM": false,
"TOURNAMENT_AGREEMENT": "",
"TOURNAMENT_NICKNAME": "xxxxx",
"LOG_SIZE": "50m",
"INSTANCE_NAME": "",
"LOGS": true,
"BR_WATCH_MODE": false,
"GB_SIMULATOR": false
},
"ws": {
"port": 5001,
"clientport": 3000,
"hostname": "127.0.0.1"
},
"GUI": {
"enabled": true,
"start": true,
"port": 5000,
"https": false,
"key": "localhost.key",
"cert": "localhost.crt",
"networktraffic": false,
"authentication": {
"login": true,
"twoFA": false
},
"notifications": {
"trade": true,
"callback": false,
"error": true
},
"demo": false
},
"AutoConfig": {
"enabled": false,
"silentMode": false
},
"imap_listener": {
"enabled": false,
"authorized_froms": "[\"no...",
"user": "xxxxx",
"password": "xxxxx",
"host": "xxxxx",
"port": 993,
"tls": true,
"tlsOptions": {
"rejectUnauthorized": false
}
},
"webhooks": {
"enabled": "xxxxx",
"wh_port": "xxxxx",
"wh_passphrase": "xxxxx"
}
}
Here's one of the log entries showing the error...
GB_24.3.2 USDT-BTC@binance Round #7520 2022/08/28 05:02:36
┌───────────────────┬────────────────────┬──────────────────┬──────────────────┬────────────────┬────────────────────┬─────────────────────┐
│ ɢՍÑɮǾͳ RT Edition │ Version │ Round │ Exchange │ Pair │ Strategy │ Timestamp │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ GB 24.3.2 │ 7520 │ binance │ USDT-BTC │ gain/gain │ 2022/08/28 05:02:36 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Core checks │ Stop limit hit │ Can we buy │ Can we sell │ Panic sell │ Can average │ REVERSAL TRADE │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ NO │ YES │ NO │ NO │ NO │ NO │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Indicators │ EMA1 │ EMA2 │ HIGHBB │ LOWBB │ RSI │ MFI BTC/USD │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 20015.4192494 │ 20011.68008451 │ 20088.92748942 │ 19902.43291057 │ 47.08907897 │ 66.88247069 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ macd │ MACD_SIGNAL │ MACD_H │ STOCH_K │ STOCH_D │ PAIR MFI │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ -10.23377875 │ 5.23639455 │ -15.47017331 │ 29.9822695 │ 32.40270958 │ 66.88887664 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ EMA spread │ DI - │ DI + │ adx │ FORECAST │ FORECAST TREND │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 3.73916488 ⇧ │ 19.13309521 │ 18.88060726 │ 16.28241293 │ 19990.836045377167 │ ⇧ ⇧ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ ATR TRAILING STOP │ ATR SHORT │ ATR LONG │ STOCH RSI │ DEPTH PRESSURE │ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 62.42493516 │ 19959.72753241 │ 20022.50246758 │ 0.01 │ 50% │ │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Trading Checks │ Ask │ Bid │ USDT Balance │ BTC Balance │ BTC On Orders │ BreakEven point │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 19991.29 ⇩ │ 19990.94 ⇧ │ 31.76739244 │ 0 │ 0 │ 49488.37115654 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ ENTRY POINT │ EXIT POINT │ STOP LIMIT │ XTREND │ LAST TRADE P/L │ USDT LAST SALE P/L │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 19991.66840443 │ 49537.85952771 │ 0.00000000 │ UP!!! │ -44.28 % │ -63.97355526 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ RT BUY │ RT SELL │ Last buy │ Last sell │ BAG VALUE USDT │ INITIAL BAG VALUE │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ NaN │ NaN │ 20688.45 │ 20722 │ 0.00000000 │ 0.00000000 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ BUYBACK │ Original Price │ -3.4% │ -3.5% │ NaN% │ Available Funds │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 0.00000000 │ 37189.93063915 │ │ │ │ 31.76729244 │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ Profit/Loss │ Pair P/L │ Normal Trading │ Reversal Trading │ Last 24h │ Last week │ Last month │
├───────────────────┼────────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────┼─────────────────────┤
│ │ 0.00000000 │ 0.00000000 │ 0.00000000 │ 0.00000000 │ 0.00000000 │ 0.00000000 │
└───────────────────┴────────────────────┴──────────────────┴──────────────────┴────────────────┴────────────────────┴─────────────────────┘
l51000
We reached max allowed RESERVE for this coin: please wait for some sell orders or change FUNDS_RESERVE
It says my USDT balance is 31.76739244 there, that's enough to trade with!
Why does it say exit point is 49537.85952771?
Guys please tell me what to do.
Should I just create a new API key and try that?
Everything I can think of in the config, is set the right way.
Strategy:
"BUY_ENABLED": true,
"BUY_LEVEL": 0.1,
"BUY_METHOD": "gain",
"DOUBLE_CHECK_GAIN": true,
"FUNDS_RESERVE": 0.0001,
"GAIN": 0.1,
"KEEP_QUOTE": 0,
"MARKET_BUY": true,
"MARKET_SELL": true,
"MIN_VOLUME_TO_BUY": 11,
"MIN_VOLUME_TO_SELL": 11,
"PERIOD": 15,
"SELL_ENABLED": true,
"SELL_METHOD": "gain",
"STOP_LIMIT": 4,
"TL_ALLIN": true,
"TRADING_LIMIT": 10000,
Exchanges:
"TRADING_FEES": 0.075,
Bot:
"BOT_DELAY": 5,
"BOT_CCLEAN": 200,
"VERBOSE": true,
"WATCH_MODE": false,
EDIT: I just manually bought so I could see if the bot sold at a 0.1% gain, it did sell the BTC.
It's not able to buy for some reason. Every time it's the same: "We reached max allowed RESERVE for this coin".
If it can't buy (due to low funds) then it shouldn't be able to sell either, right?
Manual buys and sells work on the exchange (currently with 31 USDT) and bot sells work... but bot buys don't work.
I have missed probably 5 buys in the last few days because of it. Please, anyone?