Go to Deriscope's documentation start page


In Deriscope terminology, a function refers to an operation that produces a certain result after it has been fed with a set of input parameters.
Each function is defined within the scope of a certain
Deriscope Type and may be either a static function or a local function.
In addition, every function is also available within the scope of any
descendant type of the Deriscope Type where that function is originally defined.

For example, the
Tradable::Price is a function defined within the Deriscope Type Tradable and is therefore accessible through any descendant type of Tradable.
That function is capable of calculating the price of a financial instrument provided it is fed with the appropriate input, which in this case comprises the instrument definition, market data and model assumptions.