Get date of fiscal year end using datatype code WC05350

Below are a few isins that return WC05350 as “NA”

  • IE00BY7QL619
  • US18482P1030
  • US1251411013
  • US0025353006

Here is the code snippet that I am using

publicstring GetData_SnapshotSingle()

{

var request = new DSDataRequest()


{


Instrument = new DSInstrument("IE00BY7QL619"),


DataTypes = new DSDataTypes("LOC", "EXNAME", "WC05350"),


Date = new
DSSnapshotDate(DSDateType.Relative(-30, DSDateFrequency.Daily)),


};

var response =
DSClient.DataService.GetData(request);

var respValue1 =
response["LOC"]["IE00BY7QL619"];

var respValue2 =
response["EXNAME"]["IE00BY7QL619"];

var respValue3 =
response["WC05350"]["IE00BY7QL619"];

returnstring.Format("{0}{1}, {2}{3}, {4}{5}",

"RIC
= ",
respValue1.Value,

"Exchange
= ",
respValue2.Value,

"Fisical
Year End = ", respValue3.Value);


}

Can you please advise how to get date of fiscal year end of above isins?

Best Answer

  • James.Bright1
    Answer ✓

    Hi,

    You need to include LATESTDATE within your start date.

    Best regards

    James