I have a requirement as follows
f(DATE) = average(all values of histroical timeseries from DATE to 1 year back)
Here i was trying to achieve this by giving requirement dependency to HistoricalTimeSeries primitive but then i could learn that the valuationTime passed through the executionOption and that which is available inside execute function as “executionContext.getValuationTime()” is not available in getRequirements.
Which makes it impossible to pass valuationTime to any of the dependencies.
If there is a method to achieve this , kindly let me know.