Soft Recurrence as an arguments of the Min()

Join the discussion on using Formulas and Functions in Quantrix

Moderator: Moderators

Soft Recurrence as an arguments of the Min()

Postby S a u » Sun Oct 30, 2016 11:59 am

Hi all,

Recursive computing is one of the strong properties of QM. However, I found that the Min() function incorrectly makes calculations, if its arguments are recursive expressions. If this is a bug in the program code, it would be nice to have the development team took care of it. If this is not an error code, then what has been done wrong in the attached model. Your valuable explanations are very welcome.
You do not have the required permissions to view the files attached to this post.
Best regards,
S a u
Quantrix Forum Member
Posts: 35
Joined: Fri Jun 20, 2014 8:57 am

Re: Soft Recurrence as an arguments of the Min()

Postby RLopez » Tue May 30, 2017 12:28 pm


I would say this is a bug. I've also tested this using the Max Function and the same results. I've tried multiplying by 1 the soft recursion (M1::B[~PREV]*1) no success. Even checking the help file it states:

Soft Recurrence

You can force a calculation of an item, when no previous or next value exists, by using a soft recurrence formula. You create a soft recurrence by adding a tilde (~) in front of the keyword, e.g. [~PREV]. Quantrix will assume a value of zero when calculating the first or next item.
Quantrix Forum Member
Posts: 45
Joined: Wed Mar 12, 2014 10:38 am

Return to Formulas and Functions

Who is online

Users browsing this forum: No registered users and 1 guest