eptr2.calls¶
Typed convenience wrappers for every endpoint exposed by EPTR2.call.
Each function follows the shape:
get_<endpoint>(
<required_param>: <type>,
...,
<optional_param>: <type> | None = None,
...,
eptr: EPTR2 | None = None,
**kwargs,
)
If eptr is omitted the wrapper instantiates EPTR2() on demand. Extra
keyword arguments are forwarded to EPTR2.call. See the
Convenience Wrappers guide for usage
patterns.
Package contents¶
The wrappers are auto-generated from
src/eptr2/mapping/path.py,
src/eptr2/mapping/parameters.py,
and
src/eptr2/mapping/help.py
by scripts/generate_call_wrappers.py.
Re-run the generator after adding or modifying endpoints:
Module layout¶
Functions are grouped by market category into per-module files under
src/eptr2/calls/:
| Module | Topic |
|---|---|
dam |
Day-Ahead Market (GÖP), MCP, supply/demand, block & flexible bids |
idm |
Intraday Market (GİP) orders, transactions, matching |
bpm |
Balancing Power Market (DGP), SMP, YAL/YAT |
bilateral |
Bilateral contracts (İA) |
imbalance |
Imbalance volumes & prices |
consumption |
Demand forecasts, real-time consumption, UEÇM |
generation |
Real-time generation, UEVM, plant production |
renewables |
YEK-DEM and renewable-specific endpoints |
transmission |
Cross-border flows, ATC, IDP |
dams |
Hydro reservoirs and dam metering |
ancillary |
Ancillary services (PFK/SFK) |
vep |
Pre-financial market settlement (VEP / PFM) |
mms |
Market message system |
reporting |
Reporting-service endpoints |
retroactive |
Retroactive adjustments |
yek_g |
YEK-G certificates |
ng_general, ng_sgp, ng_transmission, ng_vgp |
Natural gas market endpoints |
general |
Cross-cutting service and reference data |