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

How to predict the stock price in the future (such as the next week)? #1747

Open
ghyzx opened this issue Feb 16, 2024 · 2 comments
Open

How to predict the stock price in the future (such as the next week)? #1747

ghyzx opened this issue Feb 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ghyzx
Copy link

ghyzx commented Feb 16, 2024

By default, it can only predict and backtest to the same day (trading day). How can I predict the stock price in the future (such as the next week)? thanks.
默认只能预测、回测到当天(交易日),请问:如何预测未来时间(比如未来一周)的股价了?谢谢。

For example
These configurations are not working and it still ends on February 8th (the previous trading day).
这些配置不起作用,它仍然截止在2月8日(上一个交易日)。

"segments": {
"train": ("2020-01-01", "2023-07-31"),
"valid": ("2023-08-01", "2023-12-31"),
"test": ("2024-01-01", "2024-05-31")
}

"backtest": {
"start_time": "2024-01-01",
"end_time": "2024-02-23",
}

prediction

backtest

@ghyzx ghyzx added the bug Something isn't working label Feb 16, 2024
@mkw18
Copy link

mkw18 commented Feb 26, 2024

Hi, the datetime means the score is calculated based on that day. The score shows the result of your goal day.

@ghyzx
Copy link
Author

ghyzx commented Feb 26, 2024

Hi @mkw18, but they are all in the past time, how could we predict the coming 2 weeks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants