Updates existing order.
When creating a new order, a regular user has 2 options:
- Creating a buy order
- Creating a sell order
Brokers have the ability to create a direct trade. This enables the broker to do trades between his own clients.
For access to the ETPA platform, please send an e-mail to support@etpa.nl
This API provides congestion data to support grid management and decision-making. It is used exclusively by GOPACS to access spread bucket information related to electricity grid congestion
NOTE: This endpoint can be only used by GOPACS.
This API allows GOPACS to check the current status of congestion spread buckets. It helps determine whether congestion data is available or up to date.
NOTE: This endpoint can be only used by GOPACS.
NOTE: This API can only be used by GOPACS.
NOTE: This API can only be used by GOPACS
The following things are changed from version 1:
orderId back from the post request to check the status of your order. "Intraday" orders will be rejected from this endpoints when "XBID" functionality is enabled. "Expost" orders will still work. You can create "Intraday" orders for "XBID" using the XBID Orders endpointsCallback to return the Id of the order to after initial processing by our system. The callback url will receive a GET request with a paramater named 'id' containing the order Id. Due to the order being created asynchronously, the status cannot be returned by the current http request. After receival of the Id the order can be traced using the Server Sent Events.
The quantity can not be negative and 0. Also the decimal limit of the quantity is 1. The quantity is required field.
The start time is an epoch time. It is the time in milliseconds since the start of the unix time. The start time is required field.
The end time is an epoch time. It is the time in milliseconds since the start of the unix time. The end time is required field
Custom expiration time of an order. If no value is provided then the order will expire 15 minutes before the start time.The time must be a time in the future and must not be later than 15 minutes before the start time. The time provided must be a multiple of 15 minutes. For example 03:00, 03:15, 03:30 and 03:45.
curl -i -X PUT \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders/{id}?callbackurl=string' \
-H 'Content-Type: application/json' \
-H 'api_key: YOUR_API_KEY_HERE' \
-d '{
"orderType": "BUY / SELL",
"participantId": "292c3db8-3ee1-4999-bbed-d579225d1596",
"quantity": 2,
"start": 1465596000000,
"end": 1465682400000,
"timeblock": "INTRADAY / EXPOST / GOPACS",
"price": 35,
"ean": 871685920001768800,
"metadata": {
"key1": "value1",
"key2": "value2"
},
"customExpirationTime": 1465682400000,
"allowedToBeUsedForIdcons": true
}'{ "href": "string", "hreflang": "string", "title": "string", "type": "string", "deprecation": "string", "profile": "string", "name": "string", "templated": true }
curl -i -X DELETE \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders/{id}' \
-H 'api_key: YOUR_API_KEY_HERE'curl -i -X GET \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders?my=true&timeblocks=INTRADAY' \
-H 'api_key: YOUR_API_KEY_HERE'[ { "id": "string", "orderType": "BUY", "participantId": "string", "individualId": "string", "productType": "ELECTRICITY", "type": "string", "quantity": 0, "originalQuantity": 0, "created": 1517406300000, "priority": 1517406300000, "start": 1517406300000, "end": 1517406300000, "timeblock": "BASELOAD", "price": 0, "ean": "string", "customExpirationTime": 1517406300000, "metadata": { … }, "duration": 0, "allowedToBeUsedForIdcons": true, "totalPrice": 0 } ]
The XBID Orders v1 will be used for managing orders for XBID. This API will also function in case of a disconnection of XBID.
Be aware: In case the XBID connection gets lost. The new orders which are created with the XBID order API will be automatically forwarded to the local intraday orderbook. You can use the XBID Status API for the current connection of XBID.
The XBID Order Status Controller provides endpoints to retrieve both the history and current status of XBID orders and baskets. It supports filtering by orderId or basketId and requires an API key for authentication. Responses include detailed order status entries or lists, with proper handling of cases where no matching records are found.
The XBID Order API is used for creating orders for XBID. It also remains functional in the event of a disconnection from XBID.
⚠️ Important: If the XBID connection is lost, any new orders created via the XBID Order API will be automatically forwarded to the local intraday orderbook. For monitoring the current connection status of XBID, you can use the XBID Status v1 API.
With XBID, wallets are separated. Before trading on XBID, you must transfer funds from your Trader Wallet to your XBID Wallet.