-
Notifications
You must be signed in to change notification settings - Fork 255
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
Feature request: Full UserProvidedMarketData Example #173
Comments
Thanks for the detailed post. I think it is a bug, looks like it's ignoring your |
Actually, it's probably due to Try this:
If this fixes it we're good with this script. I'll make two separate feature requests for this. |
Thanks, I was able to get things to run if I managed to change the volumes data to Perhaps having the Thanks! |
Will consider this closed. |
Specifications
Description
I keep running into issues with setting up an optimization where I have all of the data already prepared. For example a risk model (from vendor), Mean Daily Volumes (in ccy), my own alpha forecasts, etc. However, as the market data input has changed from the older (deprecated) version, I'm running into issues understanding the full set up to pass in my own data. In particular, it still keeps trying to estimate the HistoricalMeanVolumes (see output below).
As such, I was hoping that at some point a more complete example of UserProvidedMarketData would be able to show me where I'm missing something in the set up for passing in my own data.
Snippet of my set up
Additional information
It doesn't matter which start date I chose, it always spits out this error below but I've checked the MDV data coverage with the universe and it's clean.
Output
cvxportfolio.errors.ForecastError: HistoricalMeanVolume can not compute the forecast at time 2015-02-02 00:00:00-05:00 because there are no observation for either some asset or some pair of assets (in the case of covariance).
The text was updated successfully, but these errors were encountered: