• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

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?
 
Back
Top