You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue that I can't seem to solve where when running my data through optimize.portfolio.rebalancing with the objective being to minimise variance, I get the warning message
In Return.portfolio.geometric(R = R, weights = weights, wealth.index = wealth.index, :
The weights for one or more periods do not sum up to 1: assuming a return of 0 for the residual weights
When I run the same data but with the objective to maximise return I do not get this error. I've tried to give a snippet my code that doesn't below, I've also attached the csv file I used to input the values.
I have an issue that I can't seem to solve where when running my data through optimize.portfolio.rebalancing with the objective being to minimise variance, I get the warning message
When I run the same data but with the objective to maximise return I do not get this error. I've tried to give a snippet my code that doesn't below, I've also attached the csv file I used to input the values.
Combined Data.csv
Session info
Any help would be appreciated, and since this is my first github post hopefully I've formatted everything correctly.
The text was updated successfully, but these errors were encountered: