[Mod]HuobiGateway过滤由于请求超时导致的API签名错误

This commit is contained in:
vn.py 2018-06-10 16:09:25 +08:00
parent 603d9e855f
commit 50609547e8

View File

@ -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()