I have the following python fragment:
sm = ek.get_timeseries(ric, fields='Close', …..
count = sm['CLOSE'].count()
if count >= 1:
for index in range(count):
close_price = sm['CLOSE'][index]
date_time = ...?
I need to save variable date_time="Datetime". How do it.