I'm working on characteristic functions of GBM and implementing them in option pricing in python. In deriving the cf for the minimum of a drifted BM I make this step:
First, note that by implementing the definition of a minimum, also using the symmetry property of Brownian Motion, we can rewrite $\widetilde N_0^T$ as follows $$\begin{equation} \widetilde N_0^T = -\max_{0 \leq t \leq T}\big(-\widetilde W(t)\big) = -\max_{0 \leq t \leq T}\big(-W(t) -\alpha t\big) = -\max_{0 \leq t \leq T}\big(W(t) -\alpha t\big) \end{equation}$$
Is this expression for the minimum faulty? I have been sifting through the code implementation for errors elsewhere for hours now, so is this the problem? Thanks in advance!!