This endpoint will return executed trades of a contract, given the date, period, and type.


Using the LCPDelta Python Package

Synchronous

from lcp_delta import enact
from datetime import date

enact_api_helper = enact.APIHelper(username, public_api_key)

# see 'BODY PARAMS' section below for details on corresponding parameter values
response_dictionary = enact_api_helper.get_epex_trades(
	"HH",
	date(2024,7,4),
	10
)

print(response_dictionary)

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)

    # see 'BODY PARAMS' section below for details on corresponding parameter values
    response_dictionary = await enact_api_helper.get_epex_trades_async(
        "HH",
        date(2024,7,4),
        10
    )

    print(response_dictionary)

asyncio.run(main())

Using the API Directly

We only store data from EPEX for today and yesterday. In the request object below, try a suitably recent date in the form YYYY-MM-DDT00:00:00Z for the date field.

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!