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

怎么知道一个股票一天的状态是不是涨停啊?回测要用到这个信息,涨停不一定是10%,不知道最后封板没有。 #174

Open
tetean opened this issue May 11, 2024 · 2 comments

Comments

@tetean
Copy link

tetean commented May 11, 2024

如题

@BranChai
Copy link

BranChai commented Jun 16, 2024

我是这么做的,如果昨天的收盘价是close,涨停板是涨幅10%,那么一般判断第二天的涨停板价格是大于close1.1-0.02,跌停板就是close0.9+0.02,设置2分钱误差。实际上涨停不是10%,应该是进位造成的,比如冠城大通,周四收盘价为1.78,涨停价本应该是1.78*1.1==1.958,进位为1.96,那么(1.96/1.78 -1)*100%=10.11%

@vensentzhou
Copy link

定义一个函数,把涨跌幅和代码,名称联系起来

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