Thanks Joe! This works for a 1 year format.
If I wanted to get more specific for the date range on the price, let's say it's 10$ between Feb 1 2019 and May 12 2019, how would I adjust the date range in the capsule?
I tried using
20.toSignal().splice(10.tosignal(), condition(100d,capsule('2019-02-01','2019-05-12')))
but I don't think I'm using the capsule or the condition function right.
Thanks!