unction CallBlackScholesDigit(S,K,r,sigma,q,T,t)
{
return (NCDF(D2BlackScholes(S,K,r,sigma,q,T,t),0,1)*K*Math.exp(r*(T-t)*-1.0));
}
function PutBlackScholesDigit(S,K,r,sigma,q,T,t)
{
return (NCDF(-D2BlackScholes(S,K,r,sigma,q,T,t),0,1)*K*Math.exp(r*(T-t)*-1.0));
}
No comments:
Post a Comment