What is the correct data item use for retrieving historical close price last NSR.TO has a blank valu

What is the correct data item use for retrieving historical close price of NSR.TO has a blank value for TR.PriceClose on Dec 31, 2019. Client wants the one use for Eikon API.

Best Answer

  • Hi @MaeAnthea.Diaz

    You can use the 'TR.ClosePrice' field:

    df, err = ek.get_data(['NSR.TO'], ['TR.ClosePrice','TR.ClosePrice.date'],
    parameters = {'SDate':'2019-12-31'})
    df

    The best tool to help you arrive at this is the Data Item Browser within the desktop application.