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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...