Skip to content

Latest commit

 

History

History
77 lines (63 loc) · 1.91 KB

File metadata and controls

77 lines (63 loc) · 1.91 KB
id TradeList
sidebar_label TradeList
title TradeList
hide_title true

TradeList

@experimental A list of trades. Use this type for use cases that require not just a single trade, but multiple.

Notes:

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

Type

fdc3.tradeList

Schema

https://fdc3.finos.org/schemas/next/tradeList.schema.json

Details

Property Type Required Example Value
type string Yes 'fdc3.tradeList'
id object No { listId: '1234' }
name string No 'Today's trades'
trades Trade[] Yes [trade1, trade2]

Example

const tradeList = {
    type: "fdc3.tradeList",
    trades: [
        {
            "type": "fdc3.trade",
            "name": "...",
            "id": {
                "myEMS": "12345"
            },
            "product": {
                "type": "fdc3.product",
                "instrument": {
                    "type": "fdc3.instrument",
                    "id": {
                        "ticker": "MSFT"
                    }
                }
            }
        },
        {
            "type": "fdc3.trade",
            "id": {
                "myEMS": "67890"
            },
            "product": {
                "type": "fdc3.product",
                "instrument": {
                    "type": "fdc3.instrument",
                    "id": {
                        "ticker": "TSLA"
                    }
                }
            }
        }
    ]
};

See Also

Other Types