-
Notifications
You must be signed in to change notification settings - Fork 257
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
Single-step use question #121
Comments
You're looking for the You're right on the way the back-test result is formatted. In the future it will be possible to continue a back-test from the end, at the last timestamp you have the weights but not |
PS I added a new option to |
Another question about cvx.UserProvidedMarketData (or in your case cvx.DownloadedMarketData) tends to be using open prices. But if you are online isn't the most recent price going to be close? Because you don't have the bar full bar yet to use open. do the 'price' df have one extra row than the volume and returns dfs passed into cvx.UserProvidedMarketData? |
You only need past returns (open prices are used by |
That clarifies, thanks. |
Is there any information on how this package could be used to simply run a single optimizer step and return the weights (no backtest, save compute time, etc.)
Is this supported, or is there any recommendation?
I suppose simply calling
backtest()
with start_date equal to the last date could work. However, the last bar has nans forw_plus
, which makes sense. Maybe this could be workarounded by just adding another dummy row or something but I'm just curious if theres been any thought around this.The text was updated successfully, but these errors were encountered: