Different sets of portfolios being used for different tabs


#1

Populating the database with the given example data, Ive found that the portfolios used in the Analytics and Analytics beta tabs are different than the portfolios used in the Portfolios tab. Is this an issue with the sample data provided, or OpenGamma itself? Or is this, for whatever reason, not considered an issue at all? Here is a screenshot comparing the two sets of portfolios: http://i.imgur.com/VhsOInP.png


#2

Hi Aristeiae,

In OG there are two concepts:
The portfolio, which is a collection of trades or positions
The view, which is a list of analytics that you want to see from a portfolio.

The relationship is not necessarily one to one, and you will tend to have more views than portfolios, as different people will want to see different analytics from the same set of trades