mikekonan / exchange-proxy

exchange-proxy
GNU General Public License v3.0
110 stars 31 forks source link

Whitelist is emptied #8

Closed slipx06 closed 2 years ago

slipx06 commented 2 years ago

When using the proxy and NFIX strategy pairs are removed from the whitelist after sometime. A reload of the config fixes the issue. I'm running freqtrade 2021.10. It appears to be related to the Volatility Filter. These are the logs

freqtrade_kucoin    | 2021-11-18 07:22:10,340 - VolatilityFilter - INFO - Removed BTC/USDT from whitelist, because volatility over 3 days is: 0.001 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,342 - VolatilityFilter - INFO - Removed ETH/USDT from whitelist, because volatility over 3 days is: 0.001 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,343 - VolatilityFilter - INFO - Removed CRO/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,344 - VolatilityFilter - INFO - Removed LUNA/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,345 - VolatilityFilter - INFO - Removed KDA/USDT from whitelist, because volatility over 3 days is: 0.007 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,346 - VolatilityFilter - INFO - Removed AVAX/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,348 - VolatilityFilter - INFO - Removed SAND/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,349 - VolatilityFilter - INFO - Removed GALAX/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,350 - VolatilityFilter - INFO - Removed XRP/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,351 - VolatilityFilter - INFO - Removed ALGO/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,352 - VolatilityFilter - INFO - Removed MANA/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,353 - VolatilityFilter - INFO - Removed BLOK/USDT from whitelist, because volatility over 3 days is: 0.007 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,354 - VolatilityFilter - INFO - Removed DOT/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,356 - VolatilityFilter - INFO - Removed VRA/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,357 - VolatilityFilter - INFO - Removed SHIB/USDT from whitelist, because volatility over 3 days is: 0.005 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,358 - VolatilityFilter - INFO - Removed BNB/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,359 - VolatilityFilter - INFO - Removed SOL/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,360 - VolatilityFilter - INFO - Removed LTC/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,361 - VolatilityFilter - INFO - Removed FTM/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,363 - VolatilityFilter - INFO - Removed ADA/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,364 - VolatilityFilter - INFO - Removed ELON/USDT from whitelist, because volatility over 3 days is: 0.008 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,365 - VolatilityFilter - INFO - Removed RNDR/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,366 - VolatilityFilter - INFO - Removed VET/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,367 - VolatilityFilter - INFO - Removed QRDO/USDT from whitelist, because volatility over 3 days is: 0.008 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,369 - VolatilityFilter - INFO - Removed LRC/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,370 - VolatilityFilter - INFO - Removed HTR/USDT from whitelist, because volatility over 3 days is: 0.007 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,371 - VolatilityFilter - INFO - Removed DOGE/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,372 - VolatilityFilter - INFO - Removed ROSE/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,373 - VolatilityFilter - INFO - Removed FLUX/USDT from whitelist, because volatility over 3 days is: 0.008 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,374 - VolatilityFilter - INFO - Removed TRX/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,375 - VolatilityFilter - INFO - Removed TRIAS/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,377 - VolatilityFilter - INFO - Removed MATIC/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,378 - VolatilityFilter - INFO - Removed ATOM/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,379 - VolatilityFilter - INFO - Removed XTM/USDT from whitelist, because volatility over 3 days is: 0.007 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,380 - VolatilityFilter - INFO - Removed ONE/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,381 - VolatilityFilter - INFO - Removed TEL/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,382 - VolatilityFilter - INFO - Removed JASMY/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,383 - VolatilityFilter - INFO - Removed NAKA/USDT from whitelist, because volatility over 3 days is: 0.008 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,385 - VolatilityFilter - INFO - Removed XLM/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,386 - VolatilityFilter - INFO - Removed WAXP/USDT from whitelist, because volatility over 3 days is: 0.005 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,387 - VolatilityFilter - INFO - Removed PYR/USDT from whitelist, because volatility over 3 days is: 0.005 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,388 - VolatilityFilter - INFO - Removed SCLP/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,389 - VolatilityFilter - INFO - Removed MOVR/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,390 - VolatilityFilter - INFO - Removed ENJ/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,391 - VolatilityFilter - INFO - Removed CRV/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,393 - VolatilityFilter - INFO - Removed LINK/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,394 - VolatilityFilter - INFO - Removed RMRK/USDT from whitelist, because volatility over 3 days is: 0.008 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,395 - VolatilityFilter - INFO - Removed NEAR/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,396 - VolatilityFilter - INFO - Removed OPUL/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,397 - VolatilityFilter - INFO - Removed EXRD/USDT from whitelist, because volatility over 3 days is: 0.008 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,398 - VolatilityFilter - INFO - Removed GRT/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,399 - VolatilityFilter - INFO - Removed CAKE/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,401 - VolatilityFilter - INFO - Removed IOTX/USDT from whitelist, because volatility over 3 days is: 0.013 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,402 - VolatilityFilter - INFO - Removed EOS/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,403 - VolatilityFilter - INFO - Removed CHR/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,404 - VolatilityFilter - INFO - Removed XPR/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,406 - VolatilityFilter - INFO - Removed DYDX/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,407 - VolatilityFilter - INFO - Removed XYO/USDT from whitelist, because volatility over 3 days is: 0.007 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,408 - VolatilityFilter - INFO - Removed SENSO/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,409 - VolatilityFilter - INFO - Removed QNT/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,410 - VolatilityFilter - INFO - Removed CPOOL/USDT from whitelist, because volatility over 3 days is: 0.009 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,412 - VolatilityFilter - INFO - Removed HERO/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,413 - VolatilityFilter - INFO - Removed GLCH/USDT from whitelist, because volatility over 3 days is: 0.005 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,414 - VolatilityFilter - INFO - Removed BOSON/USDT from whitelist, because volatility over 3 days is: 0.004 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,415 - VolatilityFilter - INFO - Removed LTO/USDT from whitelist, because volatility over 3 days is: 0.005 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,416 - VolatilityFilter - INFO - Removed RFOX/USDT from whitelist, because volatility over 3 days is: 0.005 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,418 - VolatilityFilter - INFO - Removed WIN/USDT from whitelist, because volatility over 3 days is: 0.003 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,419 - VolatilityFilter - INFO - Removed QI/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,420 - VolatilityFilter - INFO - Removed ICP/USDT from whitelist, because volatility over 3 days is: 0.002 which is not in the configured range of 0.02-0.75.
freqtrade_kucoin    | 2021-11-18 07:22:10,421 - VolatilityFilter - INFO - Removed ACE/USDT from whitelist, because volatility over 3 days is: 0.006 which is not in the configured range of 0.02-0.75.
mikekonan commented 2 years ago

Can you please share the filter config?

slipx06 commented 2 years ago

sure

{
    "pairlists": [
        {
                        "method": "VolumePairList",
                        "number_assets": 80,
                        "sort_key": "quoteVolume",
                        "refresh_period": 1800
                },
                {"method": "AgeFilter", "min_days_listed": 14},
                {"method": "SpreadFilter", "max_spread_ratio": 0.006},
                {
                        "method": "RangeStabilityFilter",
                        "lookback_days": 3,
                        "min_rate_of_change": 0.05,
                        "refresh_period": 1800
                },
                {
                        "method": "VolatilityFilter",
                        "lookback_days": 3,
                        "min_volatility": 0.02,
                        "max_volatility": 0.75,
                        "refresh_period": 43200
                },
        {"method": "ShuffleFilter"}
    ]
}
mikekonan commented 2 years ago

Can you check it with the latest version?

slipx06 commented 2 years ago

Busy checking . Some other issues I noticed.

On startup I see coins removed because age is less then 0 but this is not correct. Some examples below. When I reload config these do not appear in the logs anymore.

freqtrade_kucoin    | 2021-11-18 21:45:41,734 - AgeFilter - INFO - Removed EOS/USDT from whitelist, because age 0 is less than 14 days
freqtrade_kucoin    | 2021-11-18 21:45:41,735 - AgeFilter - INFO - Removed UNO/USDT from whitelist, because age 0 is less than 14 days

I'm also seeing other errors on first startup that go away on reload-config

freqtrade_kucoin    | 2021-11-18 21:46:35,517 - freqtrade.data.dataprovider - WARNING - No data found for (KDA/USDT, 1h).
freqtrade_kucoin    | 2021-11-18 21:46:35,517 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error inputs are all NaN calling <bound method IStrategy._analyze_ticker_internal of <NostalgiaForInfinityX.NostalgiaForInfinityX object at 0xffffa3a0a460>>
freqtrade_kucoin    | Traceback (most recent call last):
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/strategy_wrapper.py", line 17, in wrapper
freqtrade_kucoin    |     return f(*args, **kwargs)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 494, in _analyze_ticker_internal
freqtrade_kucoin    |     dataframe = self.analyze_ticker(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 473, in analyze_ticker
freqtrade_kucoin    |     dataframe = self.advise_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 845, in advise_indicators
freqtrade_kucoin    |     return self.populate_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/user_data/strategies/NostalgiaForInfinityX.py", line 6070, in populate_indicators
freqtrade_kucoin    |     informative_1h = self.informative_1h_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/user_data/strategies/NostalgiaForInfinityX.py", line 5740, in informative_1h_indicators
freqtrade_kucoin    |     informative_1h['rsi_14'] = ta.RSI(informative_1h, timeperiod=14)
freqtrade_kucoin    |   File "talib/_abstract.pxi", line 399, in talib._ta_lib.Function.__call__
freqtrade_kucoin    |   File "talib/_abstract.pxi", line 441, in talib._ta_lib.Function.__call_function
freqtrade_kucoin    |   File "/home/ftuser/.local/lib/python3.9/site-packages/talib/__init__.py", line 27, in wrapper
freqtrade_kucoin    |     return func(*args, **kwargs)
freqtrade_kucoin    |   File "talib/_func.pxi", line 4377, in talib._ta_lib.RSI
freqtrade_kucoin    |   File "talib/_func.pxi", line 68, in talib._ta_lib.check_begidx1
freqtrade_kucoin    | Exception: inputs are all NaN
freqtrade_kucoin    | 2021-11-18 21:46:35,518 - freqtrade.strategy.interface - WARNING - Unable to analyze candle (OHLCV) data for pair KDA/USDT: inputs are all NaN
freqtrade_kucoin    | 2021-11-18 21:46:35,583 - freqtrade.data.dataprovider - WARNING - No data found for (FIL/USDT, 15m).
freqtrade_kucoin    | 2021-11-18 21:46:35,583 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error inputs are all NaN calling <bound method IStrategy._analyze_ticker_internal of <NostalgiaForInfinityX.NostalgiaForInfinityX object at 0xffffa3a0a460>>
freqtrade_kucoin    | Traceback (most recent call last):
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/strategy_wrapper.py", line 17, in wrapper
freqtrade_kucoin    |     return f(*args, **kwargs)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 494, in _analyze_ticker_internal
freqtrade_kucoin    |     dataframe = self.analyze_ticker(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 473, in analyze_ticker
freqtrade_kucoin    |     dataframe = self.advise_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 845, in advise_indicators
freqtrade_kucoin    |     return self.populate_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/user_data/strategies/NostalgiaForInfinityX.py", line 6076, in populate_indicators
freqtrade_kucoin    |     informative_15m = self.informative_15m_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/user_data/strategies/NostalgiaForInfinityX.py", line 5807, in informative_15m_indicators
freqtrade_kucoin    |     informative_15m['rsi_14'] = ta.RSI(informative_15m, timeperiod=14)
freqtrade_kucoin    |   File "talib/_abstract.pxi", line 399, in talib._ta_lib.Function.__call__
freqtrade_kucoin    |   File "talib/_abstract.pxi", line 441, in talib._ta_lib.Function.__call_function
freqtrade_kucoin    |   File "/home/ftuser/.local/lib/python3.9/site-packages/talib/__init__.py", line 27, in wrapper
freqtrade_kucoin    |     return func(*args, **kwargs)
freqtrade_kucoin    |   File "talib/_func.pxi", line 4377, in talib._ta_lib.RSI
freqtrade_kucoin    |   File "talib/_func.pxi", line 68, in talib._ta_lib.check_begidx1
freqtrade_kucoin    | Exception: inputs are all NaN
freqtrade_kucoin    | 2021-11-18 21:46:35,584 - freqtrade.strategy.interface - WARNING - Unable to analyze candle (OHLCV) data for pair FIL/USDT: inputs are all NaN
freqtrade_kucoin    | 2021-11-18 21:46:37,406 - freqtrade.data.dataprovider - WARNING - No data found for (ONE/USDT, 15m).
freqtrade_kucoin    | 2021-11-18 21:46:37,406 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error inputs are all NaN calling <bound method IStrategy._analyze_ticker_internal of <NostalgiaForInfinityX.NostalgiaForInfinityX object at 0xffffa3a0a460>>
freqtrade_kucoin    | Traceback (most recent call last):
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/strategy_wrapper.py", line 17, in wrapper
freqtrade_kucoin    |     return f(*args, **kwargs)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 494, in _analyze_ticker_internal
freqtrade_kucoin    |     dataframe = self.analyze_ticker(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 473, in analyze_ticker
freqtrade_kucoin    |     dataframe = self.advise_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/freqtrade/strategy/interface.py", line 845, in advise_indicators
freqtrade_kucoin    |     return self.populate_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/user_data/strategies/NostalgiaForInfinityX.py", line 6076, in populate_indicators
freqtrade_kucoin    |     informative_15m = self.informative_15m_indicators(dataframe, metadata)
freqtrade_kucoin    |   File "/freqtrade/user_data/strategies/NostalgiaForInfinityX.py", line 5807, in informative_15m_indicators
freqtrade_kucoin    |     informative_15m['rsi_14'] = ta.RSI(informative_15m, timeperiod=14)
freqtrade_kucoin    |   File "talib/_abstract.pxi", line 399, in talib._ta_lib.Function.__call__
freqtrade_kucoin    |   File "talib/_abstract.pxi", line 441, in talib._ta_lib.Function.__call_function
freqtrade_kucoin    |   File "/home/ftuser/.local/lib/python3.9/site-packages/talib/__init__.py", line 27, in wrapper
freqtrade_kucoin    |     return func(*args, **kwargs)
freqtrade_kucoin    |   File "talib/_func.pxi", line 4377, in talib._ta_lib.RSI
freqtrade_kucoin    |   File "talib/_func.pxi", line 68, in talib._ta_lib.check_begidx1
freqtrade_kucoin    | Exception: inputs are all NaN
mikekonan commented 2 years ago

Try with https://github.com/mikekonan/freqtrade-proxy/releases/tag/v1.0.10 Also, take care of the timeout parameter in the configs example

slipx06 commented 2 years ago

Whitelist seems ok now but still getting lots of these

freqtrade_kucoin    | 2021-11-19 21:00:02,847 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=OMG-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:02,848 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:02,848 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:02,849 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=PYR-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:02,849 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:02,849 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:02,873 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=ETH-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:02,873 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:02,874 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:02,947 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=QNT-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:02,948 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:02,948 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,008 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=TEL-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,009 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,009 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,107 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=ATOM-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,107 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,107 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,164 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=CHR-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,164 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,164 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,287 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=DREAMS-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,287 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,287 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,328 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=SAND-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,328 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,328 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,391 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=LTC-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,391 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,391 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,603 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=LRC-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,603 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,603 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,678 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=ENJ-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
freqtrade_kucoin    | 2021-11-19 21:00:03,678 - freqtrade.exchange.common - WARNING - retrying _async_get_candle_history() still for 4 times
freqtrade_kucoin    | 2021-11-19 21:00:03,678 - freqtrade.exchange.common - WARNING - Kucoin 429 error, avoid triggering DDosProtection backoff delay. 3 tries left before giving up
freqtrade_kucoin    | 2021-11-19 21:00:03,895 - freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "kucoin GET http://freqtrade-proxy:8080/kucoin/api/v1/market/candles?symbol=WAX-USDT&type=1hour&startAt=1635555602&endAt=1637355602 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
mikekonan commented 2 years ago

it's expected when proxy has just been started

swelbyboy commented 2 years ago

Hi @mikekonan,

2021-11-26 16:18:49,618 - freqtrade.freqtradebot - INFO - Active pair whitelist is empty. 2021-11-26 16:18:54,621 - freqtrade.freqtradebot - INFO - Active pair whitelist is empty.

I am seeing this issue as well. I am using this proxy image,

freqtrade-proxy: image: mikekonan/freqtrade-proxy:main-amd64

Filter config is as below,

"pairlists": [ { "method": "VolumePairList", "number_assets": 65, "sort_key": "quoteVolume", "refresh_period": 1800 }, { "method": "AgeFilter", "min_days_listed": 75 }, { "method": "RangeStabilityFilter", "lookback_days": 5, "min_rate_of_change": 0.1, "max_rate_of_change": 1.25, "refresh_period": 1440 } ],

Is 'freqtrade-proxy:main-amd64' the correct image to resolve this?

swelbyboy commented 2 years ago

Thanks!

mikekonan commented 2 years ago

docker pull mikekonan/freqtrade-proxy:main-amd64