-
-
Notifications
You must be signed in to change notification settings - Fork 682
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
multiple entry signals #426
Comments
@VanBuren77 it's documented: set Return is calculated correctly: your large initial cash inflates the total portfolio value, thus total return seems small. Setting init_cash to "auto" will make both numbers match. |
The default size is infinity, lower it. |
Perhaps I'm not understanding, I tried different values for init_cash and read the documentation on InitCashMode I tried 0 & 10000. When init_cash is set to 0 it should be "auto" via the docs (correct me if i'm wrong) but I get the error: "Attempt to go in long direction infinitely" When I set it to a value like 10000 or 100000, then I get the same plot as I posted above, where no accumulation occurs |
@VanBuren77 I think polakowo is saying the |
It looks like vectorbt auto cleans duplicate entry signals. There is no documentation on how to make multiple entries
I.e., buy a share on day X and then buy another share on day Y
vectorbt will see the day Y entry as a duplicate and clean it
Is it possible in vectorbt to do this?
The text was updated successfully, but these errors were encountered: