[Mod]HuobiGateway过滤由于请求超时导致的API签名错误
This commit is contained in:
parent
603d9e855f
commit
50609547e8
@ -453,7 +453,7 @@ class HuobiTradeApi(TradeApi):
|
|||||||
def onError(self, msg, reqid):
|
def onError(self, msg, reqid):
|
||||||
"""错误回调"""
|
"""错误回调"""
|
||||||
# 忽略请求超时错误
|
# 忽略请求超时错误
|
||||||
if '429' in msg:
|
if '429' in msg or 'api-signature-not-valid' in msg:
|
||||||
return
|
return
|
||||||
|
|
||||||
err = VtErrorData()
|
err = VtErrorData()
|
||||||
|
Loading…
Reference in New Issue
Block a user