Dear All!
After quite some work setting up the configurations/trade data/market data, I’m having the idea to easen this by using database structures / relational integrity, so there is ideally no/little possibilities of error in configuring (e.g. only already set-up curves can be used in todays-markets, etc.).
I’m currently working on a script to convert the xsd Schemata to SQL-DDL Statements and the XML-files to SQL-INSERT Statements to fill the created tables.
After that I’d like to just build SQLXML-Querys to build the XML-files from Database-queries and feed this into ORE in the same way as now.
In the far end, I’d like to write an extension to the OREAnalytics/Parameters.cpp, XMLSerializable and CSVLoader to allow filling parameters/XML-configurations using SQLXML Queries and Marketdata using plain SQL Queries.
The idea is reusing all XML related checks/access code with an alternative way to get this data from a database (defined in a connection string in ore.xml)
Is this something worth proceeding?
-regards,
Roland