-
Hello, how can I enter a position on thursday and sell on friday? I tried
But this does not work. |
Beta Was this translation helpful? Give feedback.
Answered by
BenLePen
Aug 14, 2021
Replies: 1 comment
-
OK, solved it. I had to create a new column first: zeitreihe_input["day_of_week"] = zeitreihe_input.index.dayofweek ... :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kernc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, solved it. I had to create a new column first:
zeitreihe_input["day_of_week"] = zeitreihe_input.index.dayofweek
...
:-)