v1

latestOpenAPI 3.1.02026-07-2694207444.7 KB

get/trades/public

Query parameters

startZuluTimestring date-time required

Start of the period for which the trades are retrieved. ISO 8601 format with Zulu time, as described in Data interchange standards. Trade’s tradeTime value taking into account for that parameter

endZuluTimestring date-time required

End of the period for which the trades are retrieved. ISO 8601 format with Zulu time, as described in Data interchange standards. Trade’s tradeTime value taking into account for that parameter

api-versionstring

default version: 2.0

Response

updatedAtstring date-time required

The timestamp at which this trade was updated

tradeIdstring required

Trade ID (unique trade identifier). The prefix might be: * I in case of the Nord Pool Matcher * X in case of XBID

tradeTimestring date-time required

The timestamp when the trade was created.

state'COMPLETED' | 'CANCELLED' | 'DISPUTED' | 'NOT_CANCELLED' required
  • COMPLETED - the trade is completed. * CANCELLED - the trade is cancelled. * DISPUTED - the trade is pending decision for cancellation. * NOT_CANCELLED - the trade cancellation request was rejected.
currencystring required

Currency code

eventSequenceNointeger required

Sequence number for tracking received ticker events.

revisionNointeger required

The latest revision number of the trade

mediumDisplayNamestring required

A medium length display name for the contract.

companyTradeboolean required

If the trade belongs to your company, it will be enriched with portfolio information and this field will be set to true. Otherwise it will be set to false.

Example response

[
  {
    "updatedAt": "2023-05-24T12:29:36.842Z",
    "tradeId": "X2911094",
    "tradeTime": "2023-05-24T12:29:36.842Z",
    "state": "COMPLETED",
    "currency": "EUR",
    "eventSequenceNo": 3641598,
    "revisionNo": 1,
    "mediumDisplayName": "PH-20230524-20",
    "companyTrade": true,
    "legs": [
      {
        "contractId": "NX_513669",
        "side": "BUY",
        "unitPrice": 8419,
        "quantity": 491000,
        "deliveryAreaId": 1
      }
    ]
  }
]