v1

latestOpenAPI 3.1.02026-07-2694207444.7 KB

get/trades/private

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

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

Last update time for this trade

tradeIdstring required

Trade ID

tradeTimestring date-time required

Time of creation of this trade

state'COMPLETED' | 'DISPUTED' | 'CANCELLED' required
currencystring required

Currency code

contractPhase'CONT' | 'AUCT' | 'NONE' required
eventSequenceNointeger required

Incremental counter of messages (technical field)

revisionNointeger required

The latest revision number of the trade

mediumDisplayNamestring

Medium length name for contract

companyTradeboolean

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-26T08:13:01.912Z",
    "tradeId": "X2911880",
    "tradeTime": "2023-05-26T08:13:01.912Z",
    "state": "COMPLETED",
    "currency": "EUR",
    "contractPhase": "CONT",
    "eventSequenceNo": 5223894,
    "revisionNo": 1,
    "mediumDisplayName": "PH-20230526-16",
    "companyTrade": true,
    "legs": [
      {
        "contractId": "NX_513977",
        "side": "BUY",
        "unitPrice": 3571,
        "quantity": 170000,
        "deliveryAreaId": 3,
        "portfolioId": "N00102-24",
        "orderId": "X4167228",
        "userId": "TA-ID-UI-member",
        "deliveryStart": "2023-05-26T13:00:00Z",
        "deliveryEnd": "2023-05-26T14:00:00Z",
        "orderType": "LIMIT",
        "text": "Text_label",
        "clientOrderId": "54d7a2ee-f021-5adb-abd6-99cca83b2082"
      }
    ]
  }
]