post https://enact-functionapp-siteapi.azurewebsites.net/api/NordpoolBuySellCurves
This endpoint returns the unaggregated N2EX buy and sell curves for order positions and block orders for the requested date.
The request date corresponds to the delivery date in Central European Time (CET) and the delivery times for order positions and block orders are in Coordinated Universal Time (UTC).
Using the LCP Delta Python Package
Synchronous
from lcp_delta import enact
from datetime import date
enact_api_helper = enact.APIHelper(username, publicApiKey)
response = enact_api_helper.get_N2EX_buy_sell_curves(
date(2024, 06, 20) # the date to request data for
)
Asynchronous (package version 1.3.0 and later)
from lcp_delta import enact
from datetime import date
import asyncio
async def main():
enact_api_helper = enact.APIHelper(username, public_api_key)
response_dictionary = await enact_api_helper.get_N2EX_buy_sell_curves_async(
date(2024, 6, 20) # the date to request data for
)
print(response_dictionary)
asyncio.run(main())