Trading stock volatility with the Ornstein-Uhlenbeck process

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 40

  • @dangkhoatrannguyen6734
    @dangkhoatrannguyen6734 Год назад +26

    I got my Master in Financial Engineering. And in my opinion this content is of high quality and rare. Thank you for sharing such valuable knowledge on RUclips.

    • @deadduck8307
      @deadduck8307 Год назад

      my PhD is in stochastic processes, and yes, he does good work.

  • @KrishnenduSKar
    @KrishnenduSKar 2 года назад +2

    Thank you so much for the detailed explanations. Been trying to connect the worlds of Stochastic Process & Computer Science for quite some time. Contributions like these help people like us break barriers which seemed almost impossible (until now). Thanks again and keep up the great work !! Respect !! Go Feynman !! ✌🏽👍🏽🙏🏽

  • @nolann2382
    @nolann2382 2 года назад

    Although I'm not a quant, I watch your videos for fun. I'm a math student right now, but I hope to become a quant one day.

  • @Tyokok
    @Tyokok 5 месяцев назад

    All respect and appreciation!!!

  • @michaelnovik270
    @michaelnovik270 2 года назад +1

    Pure gold. My respect.

  • @Notwhoyouthink_23
    @Notwhoyouthink_23 2 года назад

    This channel is precious. Thank you very much

  • @amitpashine1189
    @amitpashine1189 Год назад

    really outstanding content. keep it up!

  • @alessandrolodi8951
    @alessandrolodi8951 2 года назад

    This video is simply amazing

  • @Anyone.c
    @Anyone.c 2 года назад +2

    I love your videos dude!!! You put in so much work and effort in them! thank you for this. Can you suggest any readings for deciding a stocks weight in a portfolio(maybe include this volatility aspect too). Thanks!

  • @powerfuel297
    @powerfuel297 Год назад

    I implement the RFSV model last year, it also uses a similar OU process in there

  • @saremseitz5715
    @saremseitz5715 2 года назад

    Really good - thank you!

  • @ps3265
    @ps3265 2 года назад

    Thanks for the video!

  • @bastig.9415
    @bastig.9415 3 месяца назад

    Great explanation! Do you have any further textbook recommendations where these concepts are presented?

  • @ArunGupta-du2de
    @ArunGupta-du2de Год назад

    Excellent Tutorial! Had two conceptual questions:
    1) Do you happen to know why the OU process the natural choice to incorporate volatility clustering (what is the connection between mean reversion in OU and the volatility autocorrelation found by Mandelbrot)? Would a simple AR(1) process for volatility work too?
    2) Do I understand it right that OU addresses only the volatility clustering property, but not the heavy tails and excess volatility pptys of stock returns?
    Thanks for any feedback!

  • @gokhanozbay4349
    @gokhanozbay4349 2 года назад

    İt's awesome lecture. Thanks a lot dude 👍

    • @QuantPy
      @QuantPy  2 года назад +2

      Cheers, feel free to suggest ideas for future videos anytime

  • @kevinshao9148
    @kevinshao9148 6 месяцев назад

    Hi, why you pick rolling days 40 for vol? why not calc vol from beginning? Thank you for advising!

  • @timmolendijk
    @timmolendijk 4 месяца назад

    Re #2:50: assuming that by `delta S_t` is meant `S_t+delta - S_t`, the given formula doesn't make sense to me:
    From `X_t = ln(S_t)` follows `r_t = ln(S_t+delta) - ln(S_t) = ln(S_t + (S_t+delta - S_t))` which cannot be right(??)
    E.g. With prices S_t=20 and S_t+delta=21, this would entail: `r_t = ln(21) - ln(20) = ln(20 + (21-20)) = ln(21)` 🤨🤨🤨
    And then the code expresses something different entirely: `r_t = ln(S_t+delta / S_t)` which actually makes sense to me. What's up with that `ln(S_t + delta S_t)` in the formula though?!?

  • @randomdude79404
    @randomdude79404 2 года назад +1

    Thanks for this video , in the past you created a video on statistical properties of the bars by the work of Marcoz Lopez De Prado (Advances In Financial Machine Learning) could you perhaps create a few more videos showing implementation of something like meta-labelling etc...

  • @malcolmharris7363
    @malcolmharris7363 8 месяцев назад

    Can I ask a serious question? How often are you actually correct with this model? Meaning, how close does the model actually come to accurately measuring realized volatility?

  • @Alexander-pk1tu
    @Alexander-pk1tu Год назад

    Very cool video and project. I tried to replicate the notebook myself from your site. I am working on a project where I want to find SV under P so its what I am looking for. But shouldn't you use Cox-Ross Model for Volatility? I would like to see a follow-up video on this topic! On calculating these parameters on historical data

  • @marwinsteiner5817
    @marwinsteiner5817 4 месяца назад

    How could you simulate historical implied volatility?

  • @alejandrovillalobos1678
    @alejandrovillalobos1678 2 года назад

    that little bit of correlation is there because outliers

  • @luketesta7310
    @luketesta7310 Год назад

    This is literally rocket science

  • @Rndhld
    @Rndhld 2 года назад

    This is very good content! I am in the process of migrating from Excel to Python. How do you plot the text and algebra notation (at around 5 min. for instance) in your notebooks?

    • @lking8819
      @lking8819 2 года назад

      He is using LaTEX typed into a markdown cell within Jupyter Notebook. Hope that helps!

  • @alejandrovillalobos1678
    @alejandrovillalobos1678 2 года назад

    can you explain too me, please, why would you use OU proces to model variance, im not an expert, i just like math and coputer science, i'm been using, garch model to model and forecast variance

    • @daviddelvalle2458
      @daviddelvalle2458 8 месяцев назад

      OU process is a mean-reverting process commonly used to model processes pulled back towards a central value (like interest rates or a dampened spring)

  • @2paccThug
    @2paccThug 2 года назад

    Can potentially use scoring algorithm to estimate MLE parameters. But great video.

    • @QuantPy
      @QuantPy  2 года назад

      Great suggestion, that would be an improvement. Next time I’ll use the fisher scoring algorithm if I’m doing MLE 👍

  • @ar-4775
    @ar-4775 2 года назад

    Why do we square the log returns instead of getting the absolute value?

    • @TheLongBen
      @TheLongBen 7 месяцев назад

      I had this same question. I think square of log returns refers to variance of log returns (ie it is a measure of volatility).

  • @bluebull399
    @bluebull399 Год назад

    This is super quant stuff. I'm a trader. Look, can you just put a flashing pop up on my screen that says "Buckle up, we're about to get volatile" Can a quant do that? They must be able to if a human brain can do it, right?

  • @harrystefans9797
    @harrystefans9797 2 года назад

    Awesome Content dude! Love this channel a lot. Could you consider to make a video related to term structure models?

    • @QuantPy
      @QuantPy  2 года назад

      Definitely will get to these videos

  • @jonathanbaxter5821
    @jonathanbaxter5821 Год назад

    If kappa is significantly different from zero then your daily log returns should be correlated.

  • @larskuehn2157
    @larskuehn2157 Год назад

    Dude, you pronounce all names totally wrong.

    • @QuantPy
      @QuantPy  Год назад +1

      Thanks, I also struggle in pronouncing peoples names as well - I prefer numbers