Jump to content

First-of-the-month price


Recommended Posts

I have commodity prices that update every business day.  I would like to define a new signal as the commodity price on the first business day of the current month.  

The formula $a.aggregate(startValue(),periods(1 month), startKey()).toStep()  works great if the first day of the month is a business day. 

However, sometimes the first day of the month is not a business day, it is either a weekend or a holiday.  So, the formula above returns nothing.  How would I set up a Seeq formula to avoid this issue? 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...