Create an example for Yield curve construction


#1

I have download and installed OpenGamma (1.2) and I was able to build and run the example.
But now I want to build a very simple example where I can create/build a yield curve, with data (raw market quoted data) in the source code without any data from database or excel file.
I was trying to build this example but I have some issues to do that. I don’t understand correctly how to set up the configuration, how to build the curve with the raw market data.
Can anyone help me do this?

Regards,


#2

Do these files help?
https://github.com/OpenGamma/OG-Platform/blob/develop/projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/ircurve/YieldCurveConfigPopulator.java

https://github.com/OpenGamma/OG-Platform/blob/develop/projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/ircurve/CurveDefinitionAndSpecifications.java