2
votes
1answer
109 views

Predicting stock returns - in a panel data specification or by using portfolio formation strategies?

I'm working on an empirical analysis where I try to predict stock returns using weekly data. Ideally, I would like to use a panel data model like the following: $$ ...
6
votes
2answers
226 views

How do Return.portfolio and Return.rebalancing work in Performance Analytics in R?

I have a question about the function Return.portfolio/Return.rebalancing from the Performance Analytics package in R. I take ...
1
vote
2answers
1k views

Calculate Average Price, Cost, (Un)Realized P&L of a position based on executed trades

We have built an algorithmic trading software and need to calculate the following parameters for each position in our portfolio. Average Price Cost Realized Profit & Loss Unrealized Profit & ...
1
vote
1answer
335 views

Portfolio software that shows 'total return' for each investment

I'm a high school technology teacher and sponsor for the Charity Student Investment Project. Currently our students track our investment portfolio via a google spreadsheet ...
4
votes
2answers
288 views

Comparing Returns on a Sector Basis

I'd like to compare the returns of a portfolio segregated by groups to the returns of those groups in total. So say for example I have a portfolio with 40% Industrials and 60% Technology, then over ...