Skip to main content
Version: 1.0

Portfolio

A financial portfolio made up of multiple positions (holdings) in several instruments. Contrast this with e.g. the InstrumentList type, which is just a list of instruments.

This is a good example of how types can be composed and extended with extra properties to define more complex types.

The Portfolio type consists of an array of Position types, each of which refers to a single Instrument and a holding amount for that instrument.

The portfolio schema does not explicitly include identifiers in the id section, as there bis not a common standard for such identifiers. Applications can, however, populate this part of the contract with custom identifiers if so desired.

Schema

https://github.com/finos/FDC3/tree/main/schemas/context/portfolio.schema.json

Type

fdc3.portfolio

Properties

positions

The List of Positions which make up the Portfolio

Type: array

Example Value:

[
{
"type": "fdc3.position",
"instrument": {
"type": "fdc3.instrument",
"id": {
"ticker": "AAPL"
}
},
"holding": 2000000
},
{
"type": "fdc3.position",
"instrument": {
"type": "fdc3.instrument",
"id": {
"ticker": "MSFT"
}
},
"holding": 1500000
},
{
"type": "fdc3.position",
"instrument": {
"type": "fdc3.instrument",
"id": {
"ticker": "IBM"
}
},
"holding": 3000000
}
]

Example

{
"type": "fdc3.portfolio",
"positions": [
{
"type": "fdc3.position",
"instrument": {
"type": "fdc3.instrument",
"id": {
"ticker": "AAPL"
}
},
"holding": 2000000
},
{
"type": "fdc3.position",
"instrument": {
"type": "fdc3.instrument",
"id": {
"ticker": "MSFT"
}
},
"holding": 1500000
},
{
"type": "fdc3.position",
"instrument": {
"type": "fdc3.instrument",
"id": {
"ticker": "IBM"
}
},
"holding": 3000000
}
]
}