You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I tried to use the query to get the contracted reserve amount and contracted reserve prices for Austria in 2023.
But unfortunately it is not working. I used the following code:
# load packages from entsoe import EntsoeRawClient import pandas as pd
client = EntsoeRawClient(api_key='XY')
start = pd.Timestamp('20230101', tz='Europe/Vienna') end = pd.Timestamp('20231231', tz='Europe/Vienna') country_code = 'AT' # Austria type_marketagreement_type = 'A01'
On 20 Nov 2024, 09:14, at 09:14, brunolehner ***@***.***> wrote:
Hi,
I tried to use the query to get the contracted reserve amount and
contracted reserve prices for Austria in 2023.
But unfortunately it is not working. I used the following code:
`# load packages
from entsoe import EntsoeRawClient
import pandas as pd`
`client =
EntsoeRawClient(api_key='e1b2bdba-686a-445e-a7fe-b2d415ac6626')`
`start = pd.Timestamp('20230101', tz='Europe/Vienna')
end = pd.Timestamp('20231231', tz='Europe/Vienna')
country_code = 'AT' # Austria
type_marketagreement_type = 'A01'`
`client.query_contracted_reserve_amount(country_code,
type_marketagreement_type, start, end, psr_type=None)`
`client.query_contracted_reserve_prices(country_code,
type_marketagreement_type, start=start, end=end, psr_type=None)`
I get:
- AttributeError: 'str' object has no attribute 'tzinfo'
- TypeError: EntsoeRawClient.query_contracted_reserve_prices() got
multiple values for argument 'start'
Can someone help me out?
--
Reply to this email directly or view it on GitHub:
#370
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
Hi,
I tried to use the query to get the contracted reserve amount and contracted reserve prices for Austria in 2023.
But unfortunately it is not working. I used the following code:
# load packages from entsoe import EntsoeRawClient import pandas as pd
client = EntsoeRawClient(api_key='XY')
start = pd.Timestamp('20230101', tz='Europe/Vienna') end = pd.Timestamp('20231231', tz='Europe/Vienna') country_code = 'AT' # Austria type_marketagreement_type = 'A01'
client.query_contracted_reserve_amount(country_code, type_marketagreement_type, start, end, psr_type=None)
client.query_contracted_reserve_prices(country_code, type_marketagreement_type, start=start, end=end, psr_type=None)
I get:
AttributeError: 'str' object has no attribute 'tzinfo'
TypeError: EntsoeRawClient.query_contracted_reserve_prices() got multiple values for argument 'start'
Can someone help me out?
The text was updated successfully, but these errors were encountered: