How to create UDF in Excel using C# and Visual Studio 2008

Hi.
I found a bug in blsdeltaPut function.
"return Math.Exp(-Yield * Time)* CND(d1)-1;"
this should be
"return Math.Exp(-Yield * Time)* (CND(d1)-1);"
or
"return -Math.Exp(-Yield * Time)* CND(-d1);".
 
Hi.
I found a bug in blsdeltaPut function.
"return Math.Exp(-Yield * Time)* CND(d1)-1;"
this should be
"return Math.Exp(-Yield * Time)* (CND(d1)-1);"
or
"return -Math.Exp(-Yield * Time)* CND(-d1);".
From which library?
 
Check out my series of tutorial on Excel DNA Development. It explains the benefits of Excel DNA vs. VSTO, how to combine it with Net Office, and walks you through progressively complex scenarios. Cheers.
 
Back
Top Bottom