-
-
Notifications
You must be signed in to change notification settings - Fork 599
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
[Help needed] How to implement buy limit order & close opened trade after 10 days holding the stock #647
Comments
For buy limit, I found here got the way to apply buy limit order: #64. But, still not so understand yet. Currently, looking into it, if anyone got any better ideas to implement buy limit order, hope for advice. Thanks. |
@polakowo These are how I try to backtest this strategy: https://www.youtube.com/watch?v=CxFv_EUY0ZA as the image attached above Let me clarify more about the entry and exit points as below
Below is part of code that forms the entries and exits of the trades. For example, should I use forward shift exits signals by 1 (e.g., vbt.signals.fshift(1)) or any way to improve to make this backtest more realistic? Please let me know if anything need to amend, or is there any suggestion. Thanks.
|
This issue is stale because it has been open for 90 days with no activity. |
Hi all, I wanna ask if we could backtest this strategy with vectorbt (as shown in the image below).
I have found few challenges to implement the entries and exits as below:
Hope for help, thank you.
The text was updated successfully, but these errors were encountered: