Maybe an error? #478
-
I noticed that the function _initiate_state(self) in env_stocktrading.py seems to return the price of the last day of the document instead of the first day. I wonder whether it's a mistake. |
Beta Was this translation helpful? Give feedback.
Answered by
Athe-kunal
Mar 7, 2022
Replies: 1 comment
-
This is helpful if you have an online model and you are training on a weekly or monthly basis. Here you don't need to go to the initial state, rather continue with the previous state. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SEANIRLO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is helpful if you have an online model and you are training on a weekly or monthly basis. Here you don't need to go to the initial state, rather continue with the previous state.