I seem to be able to retrieve a point in time history for YTM ,,, but how can I retrieve a range of dates? i.e. I want the YTM values between 2019-10-10 and 2019-10-20 .
This Code works for retrieving a single date; how can it be modified to extract a range?
ek.get_data(['717081EP4='],['TR.YieldToMaturityAnalytics(ValuationDate=2019-10-10)'])
get_timeseries() retrieves NA... any thoughts?
ek.get_timeseries(["717081EP4="], ["TR.YieldToMaturityAnalytics"], start_date="2019-10-09, end_date="2019-10-20")