I would like to be able to decide whether I want to collect working days or calendar days. It is possible to set in get_timeseries method, but not in get_data.
@bohdan.vahalik
I checked and found that the 'Frq' parameter in the get_data method supports Calendar Days.
You can use the Data Item Browser tool to verify which fields that support time-series data.
The code looks like this:
df, error = ek.get_data("IBM.N", ["TR.ClosePrice.Date","TR.ClosePrice"], {'SDate':'2022-01-01', 'EDate':'2022-05-01','Frq':'C'})
hi @bohdan.vahalik ,
please let me add example codes below, if the parameters are set as "D" (Trading days), the output returns are the data of trading days only. However, using "C" (Calendar days), the output returns are the data from all calendar date in the period.