Hi,
I have discovered Open Gamma, and I wanted to know if it was “easily” extendable to support new kind of options (i.e. barriers…).
I also wanted to know if it was possible to integrate an outside quant lib coded in C++ to the project?
Thanks
Hi,
I have discovered Open Gamma, and I wanted to know if it was “easily” extendable to support new kind of options (i.e. barriers…).
I also wanted to know if it was possible to integrate an outside quant lib coded in C++ to the project?
Thanks
We’ve got a page on adding new security types in our documentation. But we do already support equity barrier options (see EquityBarrierOptionSecurity). The data model supports both single and double barriers, with continuous or discrete sampling. The analytics/engine function side currently only supports single barriers.
In answer to your other question, yes, you can use C++ quant code with OpenGamma. This is the reason that functions implement both a FunctionDefinition and FunctionInvoker interface. This allows you to have a split of a FunctionDefinition that gathers all the required data from the engine and various Source/Master interfaces, probably written in Java (although there’s no reason you have to do that), but then you can have a FunctionInvoker which executes on the Calculation nodes via a native interface like JNI/JNA.
Because we’ve found that C++ quant libraries can be ‘quirky’ we’re planning to add more sophisticated support for native libraries over the next few months to include:
Jim