Hi All, I have Inflation as macro economic variable in economic data for past, current & future dates (assuming 30Apr 2020 is reporting date). I need to read inflation rates from reporting date to future dates to compute LGD in MIP UDL. I am using get_rf_by_horizon to read inflation in UDL through a loop. But the function is returning missing values. Refer the below code. do i = to cnt; inflan_val[i]=get_rf_by_horizon(Inflation,i); end; But when i pass the values as mentioned below, In that case i am getting values. inflan_val[i]=get_rf_by_horizon(Inflation,0); /*Returns Inflation value for reporting date*/ or inflan_val[i]=get_rf_by_horizon(Inflation,-1); /*Return Inflation value previous month of reporting date*/ Anyone can help that how can i read future values of economic data with get_rf_by_horizon function? It would be helpful.
... View more