How to Build a TRADING STRATEGY with Python? [Momentum - FULL GUIDE] P.I

Поделиться
HTML-код
  • Опубликовано: 13 май 2023
  • In this video I am building a Trading strategy in Python. The strategy is a Momentum strategy which is checking for the top performers in the S&P500, buys them and holds them for one month.
    Main focus of this video is to get and prepare the data to get rid of the survivorship bias.
    Like, comment and subscribe for the next Part! Looking forward to it!
    Get the Notebook/Source code by becoming a Tier-3 Channel member:
    / @algovibes
    Check out Momentum on the NASDAQ:
    • MOMENTUM Trading Strat...
    Further reading & academic reference:
    mba.tuck.dartmouth.edu/pages/f...
    and
    www.jstor.org/stable/2328882?...
    Disclaimer:
    This video is not an investment advice and is for educational and entertainment purposes only!
    #python #trading #momentum
  • НаукаНаука

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

  • @jt-oz
    @jt-oz Год назад +5

    I'm just here for the accent.

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

      Man of culture. Pinned 📌

  • @rixotend
    @rixotend Год назад +4

    Right now I dont have a pc, through your tutorials I am able to write python on my phone using termux. I really appreciate these and I am highly inspired to push more and more

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

      Awesome man. I am crossing my fingers for you! Be invited to check out my other stuff and let me know what you think

  • @anilmm2005
    @anilmm2005 Год назад +2

    Highly excited for next part. Thanks for the data prep video

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

      Thanks a bunch for watching Anil!

  • @user-mz4xf1mc2h
    @user-mz4xf1mc2h Год назад +3

    Firstly, this is my first ever comment on yt! You have driven me beyond just consumption. :) I've been following your amazing work since the beginning of COVID. The clarity of instruction and purpose of each function is outstanding. Thank you for your contribution!

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

      I feel honored! I hope I am getting more of those from you 😁Appreciate you man

  • @check.markets5137
    @check.markets5137 8 месяцев назад +1

    Algovibes, that's what I call a great job! Thank you so much for educating us on how to do this with straight-forward code!

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

      Very welcome. Thanks for leaving a comment mate!

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

    Thanks for the video, very helpful. But one thing that I do not understand, by creating the list of stocks as a combinations of those that were added after the start and those deleted after the start. are you not missing those that were already there and never got removed, e.g. Apple is not in for final stock list. Can you explain? by the way, did you ever recorded the follow up video? if so, what is the link. Many many thanks

  • @JohnSparks-oe8im
    @JohnSparks-oe8im Месяц назад +1

    Thanks for your very clear videos about python and trading. But...
    I replicated your code but the function to remove the prices before the add date and after the remove date doesn't work. For instance, the ticker CZR is there from the beginning of 2015-01-02 and SBNY has prices all the way to 2023-05-19.
    Any way to reconcile this? Thanks.

  • @Igor-vm1yp
    @Igor-vm1yp Год назад +1

    Hello, thank you so much for another amazing video! maybe in another opportunity you can develop a strategy that works on both sides (buying side and selling side). Congratulations on the content!

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

      Welcome Igor. Thanks a lot for your comment! Good suggestion. Let's see how the next one is performing - happy to cover that.

  • @bryan-9742
    @bryan-9742 Год назад +1

    Given your short term reversal maybe we blend and make a risk monitor with the short term reversal to alert buy signal and the momentum!

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

    I use the SP500 survivorship bias index. The equal weighted performance of all stocks in the sp right now, and use it as a benchmark. I couldn't get the data of stocks removed right now.

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

      Sounds interesting. You got a reference? Cheers!

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

      I invented the index, it's useful to see if an algorithm generates alpha or not.

  • @Hand2HandCombat
    @Hand2HandCombat Год назад +2

    Can you do some vids on how you would build a trading vwap bot with interactive brokers and python 🙂

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

      Thanks a lot for the suggestion mate!

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

      @@Algovibes Be Helpful :) IB Python Coding

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

    If only you would apply this logic to "MOMENTUM Trading Strategy on the NASDAQ with Python using multiple lookbacks". That would be an interesting back test.

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

      Interesting suggestion! Let's see how the next one is performing - very open to do that!

    • @user-ok9dx1tt7n
      @user-ok9dx1tt7n 6 месяцев назад

      What is a “lookback”?

  • @rahmanmeparambil1134
    @rahmanmeparambil1134 Год назад +4

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

      ❤️ appreciate your positive attitude!

  • @ko-prometheus
    @ko-prometheus Год назад

    🔄🔃🔛↙⬇⬆⤴⤵↪↩
    What if you create a technology for scalping style trading?