eq-python-client icon indicating copy to clipboard operation
eq-python-client copied to clipboard

Error when fetching currency data with default CET timezone

Open chrjx opened this issue 1 year ago • 0 comments

Hi,

I tried to fetch currency data with time series api as following:

currency_data = EQ.timeseries.load(   
    "Currency EUR/GBP ECB D Forex", 
    begin=date(2024, 9, 17),
    end=date(2024, 10, 8),
    frequency=Frequency.P1D,
    time_zone=CET
)

Even though the CET is the default time zone for currency data, it still throws the error:

Field="timezone", message: Timezone conversion is not allowed for the frequency P1D

chrjx avatar Oct 01 '24 08:10 chrjx