Hi,
For the portfolio, can you check why the code is throwing an error? I rechecked all indexes as well. I also noticed here that s&p has the first value missing, so should we drop that row? Let me know if you figure this out?
Also, the next s&p code is basically investing in s&p and seeing what happens with time. So you invest start value in s&p which is s&p*start and that value will be invested in the next s&p and so on ...
lastly, there is a conviction strategy, which I have explained in the document. If we figure the first part we can do this easily.
Hi, For the portfolio, can you check why the code is throwing an error? I rechecked all indexes as well. I also noticed here that s&p has the first value missing, so should we drop that row? Let me know if you figure this out? Also, the next s&p code is basically investing in s&p and seeing what happens with time. So you invest start value in s&p which is s&p*start and that value will be invested in the next s&p and so on ... lastly, there is a conviction strategy, which I have explained in the document. If we figure the first part we can do this easily.