Code Monkey home page Code Monkey logo

Comments (10)

mikekonan avatar mikekonan commented on May 30, 2024

Can you please share the filter config?

from exchange-proxy.

slipx06 avatar slipx06 commented on May 30, 2024

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"}
    ]
}

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

Can you check it with the latest version?

from exchange-proxy.

slipx06 avatar slipx06 commented on May 30, 2024

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

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

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

from exchange-proxy.

slipx06 avatar slipx06 commented on May 30, 2024

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"}"

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

it's expected when proxy has just been started

from exchange-proxy.

swelbyboy avatar swelbyboy commented on May 30, 2024

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?

from exchange-proxy.

swelbyboy avatar swelbyboy commented on May 30, 2024

Thanks!

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

docker pull mikekonan/freqtrade-proxy:main-amd64

from exchange-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.