How to get market holidays or calculate business day conventions in App Studio

Hi,

I'm looking for APIs to get market holidays calendar or calculate business day conventions..

I found Holiday structure definition in ThomsonReuters.Desktop.SDK.DataAccess.TimeSeries.MetaData but I didn't find any other clue.

Which should I use API to solve above or is there any other related APIs like 'day count conventions' ?

Thanks,

Sakamoto

Best Answer

  • Hi @SAKAMOTO

    Calendar tools are not a part of the App Studio API. For this purpose you can use Eikon Desktop Data SDK with Adfin Analytics. We do not have a separate code sample for .NET, but this tutorial will provide you with all information that you need.

    It will allow to replicate the functionality of the date functions from Excel, for instance:

    =DfAddWD("JAP",TODAY(),10,"DMC:MOD")

    This function will add 10 working days to today's date using Japanese calendar.