Hi,
i have problem with dates generated by get_timeseries function
The dates are in format -> year-month-day 00:00:00
If I do this command
ric_stoxx='.STOXX'
stoxx=ek.get_timeseries(ric_stoxx,fields='CLOSE', start_date='2020-01-03')
than the last date (today) is 2021-03-10 00:00:00
This date is not valid for the last day of that time series, because the last day has the latest value, and not value from 00:00:00. The other problem is that in this chart, the values looks really ugly
stoxx_differences=stoxx['CLOSE'].diff()
df = pd.DataFrame({
'Stoxx differences':stoxx_differences['2021-02-14':]
})
ax = df.plot.bar(stacked=True)
pyplot.tight_layout()
pyplot.gcf().set_size_inches(10, 6)
pyplot.axhline(y=0, color="maroon", linewidth=0.7)
pyplot.show()
Please how to repair it, for example how to change the labels to format year-month-day without 00:00:00 ?
Thank you very much