-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
def ENTSO_fetch(start, end, country_code):
client = EntsoePandasClient(api_key)
df_temp = client.query_day_ahead_prices(country_code, start=start, end=end)
return df_temp
start_market_date = pd.to_datetime('2023-12-31 23:00:00').tz_localize('UTC')
end_market_date = pd.to_datetime('2024-12-31 22:00:00').tz_localize('UTC')
df_market_price = ENTSO_fetch(start_market_date, end_market_date, country_code)
2024-01-01 00:00:00+01:00 53.79
2024-01-01 01:00:00+01:00 48.98
2024-01-01 02:00:00+01:00 27.45
2024-01-01 03:00:00+01:00 24.48
2024-01-01 04:00:00+01:00 24.01
...
2024-12-31 19:00:00+01:00 31.10
2024-12-31 20:00:00+01:00 29.37
2024-12-31 21:00:00+01:00 24.08
2024-12-31 22:00:00+01:00 20.62
2024-12-31 23:00:00+01:00 21.94
Length: 8783, dtype: float64
Metadata
Metadata
Assignees
Labels
No labels