Digital call option (source code)

= Digital call option
{title2=$\mathbf1_{\{S_T\geq K\}}$}

A digital call option with strike $K$ pays one unit if $S_T\geq K$ and zero otherwise.