- Joined
- 7/8/23
- Messages
- 1
- Points
- 1
Hello everyone
I'm trying to solve this equation I got by using Itô lemma on some Black-Karasinski model.
[math]d r(t)=r(t)\left(k \ln (\theta)+\frac{\sigma^2}{2}-k \ln (r(t))\right) d t+\sigma r(t) d W(t)[/math]
but I'm having a bit of trouble expressing the short rate, and then generating a few trajectories in python.
Thanks in advance to anyone who takes the time to help me
I'm trying to solve this equation I got by using Itô lemma on some Black-Karasinski model.
[math]d r(t)=r(t)\left(k \ln (\theta)+\frac{\sigma^2}{2}-k \ln (r(t))\right) d t+\sigma r(t) d W(t)[/math]
but I'm having a bit of trouble expressing the short rate, and then generating a few trajectories in python.
Thanks in advance to anyone who takes the time to help me