Skip to content

Commit 751bc23

Browse files
committed
feat: add comprehensive BOALF and balancing mechanism support
- Add BOALF, BOD, PN, B1610, SettlementStackPair, AcceptedVolumes models - Implement get_latest_acceptances() and get_acceptances_by_time() methods - Add get_physical_notifications(), get_bid_offer_data(), get_actual_generation() - Add get_settlement_stack() and get_bm_units_reference() methods - Fix BOALF model to match actual API response structure - All BOALF endpoints now working with proper type validation - Export new models in __init__.py for easy access BOALF endpoints tested and working: - /balancing/acceptances/all/latest ✅ - /datasets/BOALF ✅ - /datasets/PN, /datasets/BOD, /datasets/B1610 ✅ - /balancing/settlement/stack/all/{bid|offer}/{date}/{period} ✅ - /reference/bmunits/all ✅
1 parent 845a403 commit 751bc23

File tree

3 files changed

+490
-0
lines changed

3 files changed

+490
-0
lines changed

elexon_bmrs/__init__.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@
3030
SystemPricesResponse,
3131
SystemFrequencyResponse,
3232
ImbalancePricesResponse,
33+
# BOALF and Balancing Mechanism models
34+
BOALF,
35+
BOD,
36+
PN,
37+
B1610,
38+
SettlementStackPair,
39+
AcceptedVolumes,
40+
BOALFResponse,
41+
BODResponse,
42+
PNResponse,
43+
B1610Response,
3344
)
3445
# Import commonly used enums
3546
from elexon_bmrs.enums import (
@@ -82,6 +93,17 @@
8293
"SystemPricesResponse",
8394
"SystemFrequencyResponse",
8495
"ImbalancePricesResponse",
96+
# BOALF and Balancing Mechanism models
97+
"BOALF",
98+
"BOD",
99+
"PN",
100+
"B1610",
101+
"SettlementStackPair",
102+
"AcceptedVolumes",
103+
"BOALFResponse",
104+
"BODResponse",
105+
"PNResponse",
106+
"B1610Response",
85107
# Commonly used enums
86108
"DatasetEnum",
87109
"PsrtypeEnum",

0 commit comments

Comments
 (0)