- Joined
- 8/11/11
- Messages
- 124
- Points
- 278
Hi all,
I've got a very silly question but that I can't figure out how to deal with.
I have my c++ code for pricing options (MC, FDM whatever), I've tested it and it works right. When testing it I used to type the inputs (vol, spot, rfr, etc.) just to see if it works properly.
But now I want to transform my code into production code, which means that I need to pass market data in a efficient way, for example a interest rate curve, a volatility surface, etc. I have all that stuff in a database.
My question is how I can use that data in my c++ code.
I asked a question here (https://www.quantnet.com/forum/threads/connecting-c-and-sql-server.9145/#post-86056) but I'm not sure if there is a simpler way.
Maybe using Excel as interface?
I've got a very silly question but that I can't figure out how to deal with.
I have my c++ code for pricing options (MC, FDM whatever), I've tested it and it works right. When testing it I used to type the inputs (vol, spot, rfr, etc.) just to see if it works properly.
But now I want to transform my code into production code, which means that I need to pass market data in a efficient way, for example a interest rate curve, a volatility surface, etc. I have all that stuff in a database.
My question is how I can use that data in my c++ code.
I asked a question here (https://www.quantnet.com/forum/threads/connecting-c-and-sql-server.9145/#post-86056) but I'm not sure if there is a simpler way.
Maybe using Excel as interface?