Skip to content

Feat/interval prices - #24

Merged
kitfunso merged 2 commits into
masterfrom
feat/interval-prices
Sep 18, 2026
Merged

kitfunso merged 2 commits into
masterfrom
feat/interval-prices

Conversation

@kitfunso

Copy link
Copy Markdown
Owner

No description provided.

Kit So Fun (Keith) and others added 2 commits September 18, 2026 11:18
Replace the hour index (position - 1) in get_day_ahead_prices and
get_intraday_prices with UTC interval_start_utc/interval_end_utc,
read currency and unit from the document, and report resolution,
coverage, duplicates and conflicts. Fixes silent misalignment on
15-minute, DST and multi-day responses.

- shared extractSeriesIntervals in entsoe-timeseries.ts
- finer resolution wins only where series overlap
- consumers (price spread, ID/DA spread, site revenue) join on
  interval start
- Python SDK: to_pandas ignores scalar side lists such as notes

Breaking change for 0.8.0; version bump deferred.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
A date meant the UTC calendar day, but ENTSO-E prices a delivery day
of 00:00-24:00 Europe/Brussels. On a spring-forward day this leaked a
previous-day point and flagged two hours as missing. Add
marketDayRange, use it for day-ahead and intraday, clip points to the
window, and test 23h and 25h days end to end.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kitfunso
kitfunso merged commit fa4656a into master Sep 18, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant