Mellin transform of call prices (source code)

= Mellin transform of call prices
{c}

Let $\xi$ be a real <random variable>, and let $C(k)=\mathbb E[(e^\xi-e^k)^+]$ be the undiscounted call value at log-strike $k$, where $r^+=\max(r,0)$. For $\operatorname{Re}z>1$ and $\mathbb E e^{(\operatorname{Re}z)\xi}<\infty$,
$$
\mathbb E e^{z\xi}=z(z-1)\int_{\mathbb R}C(k)e^{(z-1)k}\,dk.
$$
For a fixed value $x$ of $\xi$, only $k<x$ contributes. Direct <integration> gives
$$
\int_{-\infty}^x(e^x-e^k)e^{(z-1)k}\,dk
=\frac{e^{zx}}{z-1}-\frac{e^{zx}}z
=\frac{e^{zx}}{z(z-1)}.
$$
For real $z>1$, <Tonelli theorem> allows interchange with <expectation>; for complex $z$ in the stated <exponential moment> domain, absolute integrability gives the same interchange. This expresses the <moment-generating function> of a log-price through a continuum of option prices. Discounting, forward normalization and a restricted strike range require corresponding adjustments.