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

添加了判断是否是交易日的功能 #133

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

Conversation

FishingGulf
Copy link

Hi,我发现你的这个框架挺好用的,我已经根据你的框架重写了我的交易算法。另外,框架里没有判断是否是交易日的方法,我新增了一个,你看看是否可以使用

@Micro-sheep
Copy link
Owner

感谢你的贡献,你写的函数对于在国内市场中使用很有用。不过考虑到股票市场是有多个国家地区的,以至于放假安排可能不一样,专门写一个函数来兼容多个地区相对来说比较麻烦。所以个人认为如果有判断某个日期是否为交易日的需求,可以自行编写一个,或者确定好所选的交易市场的某个指数,参考它的开盘日期来判断是不是交易日。

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.

2 participants