Creating daily rebalancing stock portfolios based on analyst recommendations

Quantitative Finance Asked by Mr Sandwich on November 26, 2020

I am doing research on analyst recommendations on Finnish stock market, using Can Investors Profit from the Prophets? Security Analyst Recommendations and Stock Returns by Barber etc. as reference paper. I have daily analyst recommendations data, and individual stock returns data for finnish companies for time period 2000-2020. Stocks are divided into portfolios 1-5 based on their average analyst recommendation, and portfolios are rebalanced daily. What kind of R code should be used to get the portfolios to rebalance daily, and get the portfolio daily return to be equal to the average of the daily individual stocks returns that are in the portfolio?

Add your own answers!

Related Questions

Volatility of multimodal distribution of returns

0  Asked on February 3, 2021 by vivek-subramanian


How does Bloomberg calculate beta?

0  Asked on January 8, 2021 by friedrich


Calculation of the Bid-Ask Spread on Bloomberg

1  Asked on January 7, 2021 by user45980


delta neutral option cost

1  Asked on December 28, 2020 by roller


Obtaining current list of companies in the FTSE 100 via an API

3  Asked on December 23, 2020 by thechubbypanda


Converting US Treasury CMT to Discount Yields

1  Asked on December 13, 2020 by mikerand


How to calculate Greeks for leveraged Barrier options?

0  Asked on December 12, 2020 by twhale


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir