stable/freqtrade/exchange
cdimauro 96fbf63d0b Reduce KuCoin logs on DDosProtection error messages
KuCoin APIs generate A LOT of error messages.
Consequently, logs are flooded with lines like:
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles?
symbol=PDEX-USDT&type=5min&startAt=1640317818&endAt=1640467818
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
retrying _async_get_candle_history() still for 3 times
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
2 tries left before giving up
2021-12-25 22:30:24 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles?
symbol=UBX-USDT&type=5min&startAt=1640317821&endAt=1640467821
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"

Messages like:
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
are logged only once for a certain period of time (default is 3600 seconds).
2021-12-25 22:32:22 +01:00
..
__init__.py Configure candle length for OKEX 2021-11-02 19:49:53 +01:00
bibox.py Apply isort to freqtrade codebase 2020-09-28 19:40:46 +02:00
binance.py Allow multiple calls to get more candles in live-run 2021-11-07 11:31:59 +01:00
bittrex.py Add kucoin exchange subclass 2021-04-13 12:28:07 +02:00
bybit.py Align coinbase download with ccxt limits 2021-05-27 07:38:47 +02:00
coinbasepro.py Align coinbase download with ccxt limits 2021-05-27 07:38:47 +02:00
common.py Reduce KuCoin logs on DDosProtection error messages 2021-12-25 22:32:22 +01:00
exchange.py Add unknown_fee_rate parameter 2021-12-11 15:26:08 +01:00
ftx.py Log exchange responses if configured 2021-06-19 09:07:42 +02:00
gateio.py Prevent using market-orders on gateio 2021-10-03 14:14:16 +02:00
hitbtc.py Align coinbase download with ccxt limits 2021-05-27 07:38:47 +02:00
kraken.py spell corrections 2021-06-25 22:10:04 +05:30
kucoin.py Use doublequotes for docstrings 2021-11-09 10:40:01 +00:00
okex.py Use doublequotes for docstrings 2021-11-09 10:40:01 +00:00