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

跨年后,trade_calendar 强依赖版本更新 #121

Closed
Lorry1123 opened this issue Jan 7, 2025 · 2 comments
Closed

跨年后,trade_calendar 强依赖版本更新 #121

Lorry1123 opened this issue Jan 7, 2025 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Lorry1123
Copy link
Contributor

问题描述

跨年后,stock.info.trade_calendar 需要强依赖 cache 更新,否则会拿到错误的数据类型(trade_status: str),导致一些计算出错

预期解决方案

更好的应该是调整 cache 逻辑。迅速解决可以强制指定返回值每一列的类型

@Lorry1123
Copy link
Contributor Author

Lorry1123 commented Jan 7, 2025

#120

@1nchaos 1nchaos added good first issue Good for newcomers bug Something isn't working labels Jan 7, 2025
@1nchaos
Copy link
Owner

1nchaos commented Jan 13, 2025

感谢,已经合并代码

@1nchaos 1nchaos closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants