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

优化get_today_ticks,提高访问速度 #852

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterz3g
Copy link

@peterz3g peterz3g commented Dec 1, 2018

原有逻辑:每次获取所有的tick数据。缺点:在行情实时判断时需要等待较长时间,延迟太大
新的逻辑:增加默认参数all=True。优点:不影响原有接口。当传人all=False时,只获取第一页数据。通过裁剪内容,提高了接口响应速度。

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

Successfully merging this pull request may close these issues.

1 participant