Closed yohplala closed 3 years ago
Here is the configuration for HUOBI_SWAP.
HUOBI_SWAP:
channel_timeouts:
trades: 90
l2_book: 90
retries: -1
trades: [AAVE-USD,ADA-USD,AKRO-USD,ALGO-USD,ANKR-USD,BAT-USD,BTC-USD,LUNA-USD,MKR-USD,NEAR-USD,NEO-USD,THETA-USD,UNI-USD]
l2_book:
symbols: [AAVE-USD,ADA-USD,AKRO-USD,ALGO-USD,ANKR-USD,BAT-USD,BTC-USD,LUNA-USD,MKR-USD,NEAR-USD,NEO-USD,THETA-USD,UNI-USD]
book_delta: true
book_interval: 100000
some of their trading pairs are being delisted, so are no longer valid.
i put in some code to have it ignore empty book updates
Bryant, do you think there could be a warning message indicating that a pair is not in the response and probably delisted? I believe having detailed warnings or erros to set user on a track are great added value.
Describe the bug I get following error message from HUOBI_SWAP.
To Reproduce Everything was working ok since several days, so I suspect there has been a change with HUOBI_SWAP API or with HUOBI_SWAP server maybe?
Expected behavior The error message is pretty clear. IMHO, 2 things could be improved:
feedhandler.log
is filling. Could there be a backhoff strategy in such a case, like there is for the rest feed maybe?Well, I feel, such an error should not cause a 'ERROR : HUOBI_SWAP: encountered an exception, reconnecting'.
Cryptofeed Version 1.6.2