Add Info


Key Add Info of function
Price in Tradable refers to an optional boolean that functions as follows:
If missing, it defaults to FALSE and it has no effect on the pricing procedure.
If set to TRUE, a detailed profile of the actual calculation algorithm is generated at run time and stored as an object of type
Info#10 in the key Info of the returned object, which in this case it is always of type Valuation

There are two drawbacks associated with the TRUE setting:
a) The calculation may run slower due to information being generated and
b) If an error occurs, the related description will not be immediatelly visible, but it will be somewhere inside the produced information.
For these reasons it is advisable to turn the Add Info off during regular usage and turn it on, only when the produced information is needed.