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

请解决雪球账户股票买卖数量有限问题 #97

Closed
fdsh99 opened this issue Aug 20, 2016 · 6 comments
Closed

请解决雪球账户股票买卖数量有限问题 #97

fdsh99 opened this issue Aug 20, 2016 · 6 comments

Comments

@fdsh99
Copy link

fdsh99 commented Aug 20, 2016

easytrader用于雪球模拟若股票数量超过15、16只样子,就会出现错误。如目前我的雪球账户中大概有18只股票,买卖都不再能执行了,必须手工先卖出几只股票后,才能用easytrader操作。买入也是如此,当一个空账户,最多能买入15-6只股票,后面的就不行了。请帮助解决。谢谢!

@shidenggui
Copy link
Owner

@haogefeifei

@fdsh99
Copy link
Author

fdsh99 commented Aug 20, 2016

经过测试,只要POST以下数据项就足够了,这样可有效提高雪球账户中股票处理数量。
positions.append({
"stock_name": pos['stock_name'],
"stock_id":pos['stock_id'],
"segment_name":pos['segment_name'],
"weight":pos['weight'],
"proactive":pos['proactive']
})

@shidenggui
Copy link
Owner

这样不会有影响吗?理论下雪球对post的数据应该没有限制才是

@haogefeifei
Copy link
Contributor

买入报什么错误?

@haogefeifei
Copy link
Contributor

话说雪球组合最多也就允许20支

@shidenggui
Copy link
Owner

用这个方法能突破雪球20只股票的限制吗

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

3 participants