Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

心跳机制和Token更新的问题 #5

Open
lyqscmy opened this issue Jan 16, 2023 · 0 comments
Open

心跳机制和Token更新的问题 #5

lyqscmy opened this issue Jan 16, 2023 · 0 comments

Comments

@lyqscmy
Copy link

lyqscmy commented Jan 16, 2023

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

第二个问题,官方示例有定时调用refresh方法,deribit-api没有,这样会导致private 方法在token失效后调用失败吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant