dafunkyfalcon
New Member
- Joined
- Jul 7, 2011
- Messages
- 6
Hi all!
First of all, I apologize if I'm unclear and for potential abuse of the English language.
I want to test a trading strategy called momentum where you buy/sell stocks based on their past performance. Using historical data, I'm supposed to "buy/sell" the previously best/worst 10% performing stocks, a procedure which is repeated each month. These portfolios are then held for a period whereafter I calculate the portfolio return.
Since the number of available stocks vary, I'm struggling to come up with a good method.
Do you have any suggestions as to how I can include 10% of the stocks into a portfolio when the number of stocks vary? I have to use integers, so rounding off to the closest integer is neccessary.
I hope you are able to understand my problem and that you can offer me some help.
Regards
First of all, I apologize if I'm unclear and for potential abuse of the English language.
I want to test a trading strategy called momentum where you buy/sell stocks based on their past performance. Using historical data, I'm supposed to "buy/sell" the previously best/worst 10% performing stocks, a procedure which is repeated each month. These portfolios are then held for a period whereafter I calculate the portfolio return.
Since the number of available stocks vary, I'm struggling to come up with a good method.
Do you have any suggestions as to how I can include 10% of the stocks into a portfolio when the number of stocks vary? I have to use integers, so rounding off to the closest integer is neccessary.
I hope you are able to understand my problem and that you can offer me some help.
Regards