Li Yongqiang

Results 2 issues of Li Yongqiang

Binance api return 4xx HTTP StatusCode represent client error, but the code and message not required in response body. So it would be better fill the StatusCode in APIError to...

第一个问题,心跳机制的实现和官方的Python代码示例不一致,官方的示例Client是在收到server的hearbeat request时调用/public/test方法。deribit-api是Client周期性调用/public/test方法。不知道这样会不会造成连接失效,我现在遇到了有点像连接失效的情况。 第二个问题,官方示例有定时调用refresh方法,deribit-api没有,这样会导致private 方法在token失效后调用失败吗?