Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent time range compared to ENTSOE #382

Open
warreee opened this issue Jan 20, 2025 · 1 comment
Open

Inconsistent time range compared to ENTSOE #382

warreee opened this issue Jan 20, 2025 · 1 comment

Comments

@warreee
Copy link

warreee commented Jan 20, 2025

When you do a direct query to ENTSOE e.g.:

{{baseUrl}}?documentType=A44&periodStart=202501010000&periodEnd=202501020000&out_Domain=10YBE----------2&in_Domain=10YBE----------2&contract_MarketAgreement.type=A01

i.e. the day ahead prices for January first 2025 you get exactly 24 values.

However when you do this with this package:

from entsoe import EntsoePandasClient
import pandas as pd
client = EntsoePandasClient(api_key="you_key")

start = pd.Timestamp('202501010000', tz='Europe/Brussels')
end = pd.Timestamp('202501020000', tz='Europe/Brussels')
country_code = 'BE' 

You will get 25 values, the first value of the second of January is also included.
Is this a deliberate choice, if so why?

@fleimgruber
Copy link
Contributor

fleimgruber commented Feb 24, 2025

Related: #377.

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

No branches or pull requests

2 participants