When loading rates curves from CSV the following documentantion page show the desired structure of the files: http://strata.opengamma.io/apidocs/com/opengamma/strata/loader/csv/RatesCurvesCsvLoader.html
I see different columns regarding date and day calculations, such as, the Date and Label (e.g., 1M, 2M) columns in the values file and the Day Count (e.g. ACT/360) column in the settings file. I would like to know how the data in these columns interacts.
My primary question is: If I provide discount factors (as has been recommended to me here) with these file, I have to provide a Date value and a Label value in my file. For instance:
But couldn’t Strata on its own calculate the Date column (that is, 2019-03-21) if I provide a Holiday Calendar and a Day Count? From the label, Strata knows that it is the 1M node. So based on that info, Strata should be able to add one month to the value date (that is, 2019-02-20). I am just wondering why I have to provide the date (2019-03-21), if all the other info is already there.
A followup question is: How do I typically calculate the Date column when having a, say, 3M forward rate? I know that the Day Count is important, but also a Holiday Calendar?