Skip to content

Trade

Trade records - query settled auction trades

Get trades by filter

Request

Retrieve paginated trade records matching the given search filter

Security
api-key
Query
pageableobject(Pageable)required
Bodyapplication/jsonrequired

Free search filter criteria

auctionDateTimestring, (date-time)
participantIdstringrequired
freeSearchstring
criteriaArray of objects(FilterCriteria)
curl -i -X POST \
  'http://infra-716-prod1.etpa.tech/public-api/v1/auction/trade?pageable=page%3D0%26size%3D1%26sort%3D%5B%22string%22%5D' \
  -H 'Content-Type: application/json' \
  -H 'api_key: YOUR_API_KEY_HERE' \
  -d '{
    "auctionDateTime": "2019-08-24T14:15:22Z",
    "participantId": "string",
    "freeSearch": "string",
    "criteria": [
      {
        "fieldName": "AMOUNT",
        "value": null
      }
    ]
  }'

Responses

Trades retrieved

Body*/*
contentArray of objects(TradeRecordEntry)
pageobject(PageMetadata)
Response
{
  "content": [
    {
      "tradeId": "string",
      "rootTradeId": "string",
      "participantId": "string",
      "auctionDateTime": "2019-08-24T14:15:22Z",
      "deliveryStartTime": "2019-08-24T14:15:22Z",
      "deliveryEndTime": "2019-08-24T14:15:22Z",
      "orderTypes": [
        "CURVE"
      ],
      "resolution": "PT60M",
      "schedulingArea": "NL",
      "orderSide": "BUY",
      "curveOrder": {
        "buyQuantity": 0,
        "sellQuantity": 0,
        "netQuantity": 0,
        "tradeAmount": 0
      },
      "blockOrder": {
        "buyQuantity": 0,
        "sellQuantity": 0,
        "netQuantity": 0,
        "tradeAmount": 0
      },
      "marketClearingPrice": 0,
      "netQuantityUnrounded": 0,
      "netQuantityRounded": 0,
      "tradeAmount": 0
    }
  ],
  "page": {
    "size": 0,
    "number": 0,
    "totalElements": 0,
    "totalPages": 0
  }
}