Trades - By Portfolio(s)

Use this endpoint to get your trades for specified portfolios, including both Day-ahead and Intraday markets. Optional query parameters include areas and the delivery period.

get/api/portfolios/{portfolios}/trades

Request

  • Base URL
    https://apiclearing.test.nordpoolgroup.com
  • URL
    https://apiclearing.test.nordpoolgroup.com/api/portfolios/{portfolios}/trades
  • Auth
    API key in header Authorization

Path parameters

portfoliosstring required

Array of portfolio Ids to query

Query parameters

areaCodesstring

Array of area codes to query

fromDeliveryHourstring date

Always in UTC, must be given as exact hours. If neither fromDeliveryHour nor toDeliveryHour specified, they are considered as start and end hours of current day respectively. If only fromDeliveryHour is missing, it will be assigned the value of the earliest valid delivery date. Expected format: yyyy-MM-dd HH:mm:ss.

toDeliveryHourstring date

Always in UTC, must be given as exact hours. If neither fromDeliveryHour nor toDeliveryHour specified, they are considered as start and end hours of current day respectively. If only toDeliveryHour is missing, it will be set to the end of the current day. Expected format: yyyy-MM-dd HH:mm:ss.

Response

200

ProductCodestring
DeliveryDatestring
Commoditystring
TradeTimestring
Quantityinteger
UnitPricenumber
Amountnumber
Currencystring
TradeIdstring
TradeStatusstring
OrderIdunknown
BuySellstring
Areastring
Portfoliostring
ShortNamestring
Marketstring
Labelunknown
Ccpstring
DeliveryStartTimestring
DeliveryEndTimestring
OrderTypestring
TraderIdstring
LegalEntityCodestring
LegalEntityNamestring
OrganizationNumberstring

Example response

[
  {
    "ProductCode": "AU-20160608-03",
    "DeliveryDate": "2016-06-08T00:00:00Z",
    "Commodity": "Electricity",
    "TradeTime": "2016-06-07T10:00:00Z",
    "Quantity": 567,
    "UnitPrice": 31.67,
    "Amount": 17898.76,
    "Currency": "GBP",
    "TradeId": "TradeXXXX12345",
    "TradeStatus": "Completed",
    "BuySell": "Buy",
    "Area": "UK",
    "Portfolio": "9999",
    "ShortName": "XXXXX",
    "Market": "N2EXDA",
    "Ccp": "N",
    "DeliveryStartTime": "2016-06-08T00:00:00Z",
    "DeliveryEndTime": "2016-06-08T01:00:00Z",
    "OrderType": "Block",
    "TraderId": "UserX",
    "LegalEntityCode": "DEMO",
    "LegalEntityName": "DEMO S.A.",
    "OrganizationNumber": "919585099"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.