Hi, I just noticed that my QuantLib spreadsheet has issues when recalculating in Excel: sometimes Excel reads the value of the instrument before the pricing engine is set, hence resulting in an error. Any ideas how to get around it?------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Are you using the dependency trigger?
In qlInstrumentNPV("InstrumentCELL", "CellWhereEngineIsSetToTheInstrument") is the second entry. Sometimes it bites me if I dont set the dependencies in an orderly manner (that one depends on others and so on...) Best pp ----- Original Message ----- From: "Grześ Andruszkiewicz" <[hidden email]> To: [hidden email] Sent: Thursday, 13 June, 2013 4:47:27 PM Subject: [Quantlib-dev] Timing issues when recalculating an XL spreadsheet with Quantlib Hi, I just noticed that my QuantLib spreadsheet has issues when recalculating in Excel: sometimes Excel reads the value of the instrument before the pricing engine is set, hence resulting in an error. Any ideas how to get around it? Regards, Grzegorz ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
In reply to this post by Grześ Andruszkiewicz
Hi Grzegorz,
On 2013-06-13 16:47, Grześ Andruszkiewicz wrote: > Hi, > > I just noticed that my QuantLib spreadsheet has issues when > recalculating in Excel: sometimes Excel reads the value of the > instrument before the pricing engine is set, hence resulting in an > error. Any ideas how to get around it? Please see http://quantlib.org/objecthandler/references.html Kind Regards, Eric -- =================================================== Eric Ehlers nazcatech sprl | Brussels | http://www.nazcatech.be * Distributed computing for pricing analytics * Use Microsoft Excel as a client to the Grid ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |