-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
simple signals from external file #629
Labels
Comments
This issue is stale because it has been open for 90 days with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gents, I'm lookin for a way to use this format for my signals with vectorbt,
it's EOD, so if predict >0 and predict>=threshold, then pnl=close-open, elif predict <0 and predict<= -threshold then pnl =open-close. I'd like to see these signals plotted on the chart and pnl curve below the chart. However I haven't found an example that could follow this simple logic without indicators. My goals is to leverage on vectorbt charting and model analysis capabilities. Pls. advise. Thanks!
day,predict,Actual
2023-01-02,0.0531879749438913,20.0
2023-01-03,39.92000234218711,-10.0
2023-01-04,19.994896959853136,10.0
2023-01-05,-9.918166245145391,10.0
2023-01-06,10.017815606825405,10.0
2023-01-07,10.02356454268156,-10.0
The text was updated successfully, but these errors were encountered: