-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Long-only strategy #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sure, you just call |
Yes, this was my first taught, but i have AttributeError: 'property' object has no attribute 'close' error. I have a buy label from 0-1 and when the label goes over 0.5 i whant the stretegy to buy, if falls below to sell but not short. `class RF_Label(Strategy):
|
Was actually quite easy, self.position.close()..... |
Yeah, "Strategy" in |
Hi, i would like to know if it's possible to create a long only strategy without short sell on position close.
The text was updated successfully, but these errors were encountered: