Closed xtyangjie closed 6 years ago
In addition, I had post an email to @Ceruleanacg before, while it may be a better approach to send the question here (to make a record). It could help owners to collect information about my question, too.
Another question in the mail is posted in the next issue seperately.
We had a talk in WeChat.
As asked in the title, in base/env/market.py, when generating sequences from orignal dataset, the label of training set is at time of t+2(data_index + 1) compared to x(from data_index - seq_len to data_index, a semi-closed interval), while when choosing label for the validate set, it is at t+1 instead.
Note that there is a tiny bug in master in the statement of instruments_y assiginment and I fixed in according to the code in dev branch.
` if date_index < self.bound_index:
`
Thanks for your answer :)