Using a saved model with HistoryWrapper #755
Unanswered
masterkey2000
asked this question in
Q&A
Replies: 1 comment
-
I understand the error, but yet don't find the solution. Your input is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have trained a tf-agent and now I want to test it in backtesting.py. I used the HistoryWrapper to wrap 3 days of data together:
The df looks like this:
My time_step_spec.observation looks like this:
Now I am trying to apply the strategy. It is not clear to me in which form I have to do this. My "price_data"-array and my "pos"-array have the form:
The Error message I get is:
I can't figure out where the error is here. Can someone please help me further.
Beta Was this translation helpful? Give feedback.
All reactions