You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code mentions: return Process1.State(price=state.price + up_move * 2 - 1)
Where as its a logistic function of (L-Xt).
Why is up_move multiplied by 2 and subtracted by 1?
The text was updated successfully, but these errors were encountered:
Hello there @bhardwajshivam,
Given that the $\mathbb{P}[X_{t+1} = X_{t} + 1]$ is the probability of of moving up. Likewise, $\mathbb{P}[X_{t+1} = X_{t} - 1]$ is the probability of moving down. Hence, $\mathbb{P}[X_{t+1} = X_{t} - 1] = 1 - \mathbb{P}[X_{t+1} = X_{t} + 1]$ by the complement rule.
If you rearrange the formula, you can say that $\mathbb{P}[X_{t+1} = X_{t} + 1] + \mathbb{P}[X_{t+1} = X_{t} - 1] = 1$, which is similar is equal to $2\mathbb{P}[X_{t+1} = X_{t} + 1] - 1$.
The code mentions: return Process1.State(price=state.price + up_move * 2 - 1)
Where as its a logistic function of (L-Xt).
Why is up_move multiplied by 2 and subtracted by 1?
The text was updated successfully, but these errors were encountered: