# XML Schema Documentation

### Complex Type: QueryPortfolio

#### [Table of contents]

Super-types: | Portfolio < QueryPortfolio (by extension)
Sub-types: | None

Name | QueryPortfolio
Abstract | no
Documentation | A type representing a portfolio obtained by querying the set of trades held in a repository. It contains trades matching the intersection of all criteria specified using one or more queryParameters or trades matching the union of two or more child queryPortfolios.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<partyPortfolioName> PartyPortfolioName </partyPortfolioName> [0..1]

'The name of the portfolio together with the party that gave the name.'

<tradeId> TradeId </tradeId> [0..*]
<portfolio> Portfolio </portfolio> [0..*]

'An arbitary grouping of trade references (and possibly other portfolios).'

<queryParameter> QueryParameter </queryParameter> [1..*]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="QueryPortfolio">
<xsd:complexContent>
<xsd:extension base=" Portfolio ">
<xsd:sequence>
<xsd:element name="queryParameter" type=" QueryParameter " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>