May 2nd, 2008, 9:10 am
I think you are making a classical mistake that many people make - confusing number of shares with weights. I am guessing w1, w2 etc are the weights of the stocks S1, s2 etc in you basket or index right ? if your index is initially set to I(0) then the number of shares of stock 1 in the index is:n1*S1(0) = w1 * I(0)n1 = w1*I(0)/S1(0) where S1(0) is the stock price at time 0.at any time you calculate the current valueof the index as follows:I(t) = n1*S1(t) + n2*S2(t) + .. = w1*I(0)/S1(0) * S1(t) + w2 * I(0)/S2(0) * S2(t) + ...the retrn at time t is given byI(t)/I(0) - 1 = w1*S1(t)/S1(0) + w2* S2(t)/S2(0) + ... - 1 = w1 * ( S1(t)/S1(0) - 1) + w2 * (S2(t)/S2(0) - 1) + ... = w1 * r1(t) + w2*r2(t) + .... since w1 + w2 + ... = 1 by definition.hth otherwise if i have the wrong end of ths stick I apologise.
Last edited by
daveangel on May 1st, 2008, 10:00 pm, edited 1 time in total.
knowledge comes, wisdom lingers