Need guidance for different entry and exit rules #577
Unanswered
andreas-vester
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking for some guidance as to how to implement the following strategy:
Enter long:
Exit long:
Enter Short:
Exit Short:
I am wondering if I should create a
pd.DataFrame
with signals (+1, 0, -1) and usePortfolio.from_signals
or if I should usePortfolio.from_orders_func
? If using the latter, I am not really sure where to start.A hint regarding the most suitable direction would be appreciated. - Thanks.
Beta Was this translation helpful? Give feedback.
All reactions