Calling the same TR_Field with better parameters?

I am calling the same TR_Field - TR.TotalReturn1Mo, with different dates as parameters but getting the same number returned.

fields = [ek.TR_Field('TR.TotalReturn1Mo',{'SDate': '2018-01-20'}), ek.TR_Field('TR.TotalReturn1Mo',{'SDate': '2018-01-10'})]

df,response = ek.get_data(list_RIC_Codes, fields)

The df response has the same number for both fields - suggesting that the first field is being queried twice.

Is there a problem calling the same TR_Field with different parameters?

Best Answer

Answers

  • Hi @james.kennedy,

    Perhaps the results may be a due to the nature of the instruments and the time frames. Did you try the requests separately? Can you include a small example for us to try?

    I did the following and the results came back different, i.e.

    image

  • got it fixed - thanks very much for your help