stable/tests/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 Move tests out of freqtrade module 2019-09-08 19:05:22 +02:00
test_binance.py Allow multiple calls to get more candles in live-run 2021-11-07 11:31:59 +01:00
test_ccxt_compat.py Run exchange-enabled tests against okex 2021-11-02 20:08:56 +01:00
test_exchange.py Reduce KuCoin logs on DDosProtection error messages 2021-12-25 22:32:22 +01:00
test_ftx.py Update ftx stoploss logic to properly detect correct trades 2021-06-13 11:06:34 +02:00
test_gateio.py Prevent using market-orders on gateio 2021-10-03 14:14:16 +02:00
test_kraken.py combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot 2021-07-28 14:55:06 -06:00