Hi,
I want to get historical prices of "WIPLNOND=" and "PLN6X12F=" instruments. The "get_data" function works fine, but it returns only one record. In this case I tried "get_timeseries" function, but it returns <NA> values. I've checked instruments fields in Data Item Browser and TR.ASKPRICE / TR.MIDPRICE are available in Time Series and are not blank.
My code:
df, err = ek.get_data("PLN6X12F=",["TR.MIDPRICE", "TR.MIDPRICE.Timestamp"])
df = ek.get_timeseries("WIPLNOND=",fields=['TR.ASKPRICE', 'TR.ASKPRICE.Timestamp']) df = ek.get_timeseries("PLN6X12F=",["TR.MIDPRICE", "TR.MIDPRICE.Timestamp"], interval='hour')
Output (example):
I've checked similar forum questions like this, but couldn't find a solution. How should my "get_timeseries" input look like?