I Traded $1000 with Every Tree-Based Machine Learning Model

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

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

  • @CrypticManu
    @CrypticManu 5 месяцев назад +2

    Oh yes, I was waiting for this video actually! I really like tree based methods :D

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

      Woo hope you enjoy!

  • @person-xb7ij
    @person-xb7ij 5 месяцев назад +8

    I think the reason the Decision Tree was the most popular model was because the stocks you chose have a high trade volume, and therefore have less noise in their pricing. I would be interested to see how the model selection and accuracy would change with low trade volume stocks. Great video !

    • @Nino21370
      @Nino21370 21 день назад

      (Hint) it’s 1000% more effective at analysis

  • @YanpingLiu-ie5oj
    @YanpingLiu-ie5oj 5 месяцев назад

    a

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

    Whenever you evaluate a model I suggest you to do a T test on the profit values collected over time (positive and negative values) to see whether it is coming from random chance and there is any model power (you may consider 1 sigma to be weak power, 2 sigma normal and 3 sigma strong power). What T test does is tell you whether the mean value of your long term profit is far enough from the zero line considering its relative deviation. If there are more values than 30, you may just divide the profit mean by the profit standard error to get the sigma value. That simple. Also you might want to consider the commission fees. Great video!

  • @antonio_16180
    @antonio_16180 5 месяцев назад +4

    Excellent video! What features did you use to predict? Only the past price (past 99 days)? What about using technical indicators besides the past price?

  • @arthuranderson1237
    @arthuranderson1237 5 месяцев назад +3

    Would love to see the code preferably in form of jupyter notebook. Thanks

  • @aifinance1513
    @aifinance1513 8 дней назад

    I’m developing a stock trading model using a random forest and was wondering if I could run a few ideas past you. Curious if you are open to a consulting opportunity to assist with my model development?
    Thanks
    AR

  • @fhashim
    @fhashim 5 месяцев назад +1

    Interesting stuff! Would like to see more of such content around financial markets.

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

    Do you share your code?

  • @EduardoVilla-ot7lu
    @EduardoVilla-ot7lu 5 месяцев назад

    Hi! Really enjoy your insight and the way you explain the models. Just one question: If I understood correctly, your largest lag was 3 weeks (~15 trading days), leaving only 85 days to train each tree? Would 85 observations be enough to train a tree?

  • @etfexpectations-sectoroutl5323
    @etfexpectations-sectoroutl5323 4 месяца назад

    Your analysis is excellent and well-explained.
    I was looking forward to your studies with longer lag periods. Is this something we can expect in a future video?

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

    Excellent video, I like using decision trees, haven’t used on stock trading. I would be interested in looking at correlation of the snp to another data source. For example sentiment in the top 10 news articles over the last 90 days compared to performance, or something unconnected like sentiment of twitter posts over the same period. Determining sentiment on a given day would be an interesting subject to explore anyway without correlation

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

    Talking about the label.
    Your models are built based on binary target? Where 1 is positive return more than 0.5 percent and 0 is less than treshold or the price goes opposite direction.

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

    Great video! It might have been good to go through the actual computation of one stock and tree computation just to see it done. But great nonetheless less!

  • @benjaminchoi00
    @benjaminchoi00 5 месяцев назад +1

    Do you do hyperparameter tuning when you create a model?

    • @ritvikmath
      @ritvikmath  5 месяцев назад +1

      I haven’t for this one because there were so many other variables to already think about. In general, though, it’s an important part of the model selection process and a good idea!

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

      @@ritvikmath Your idea gives me great insight! Thank you for nice video

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

    Random forest should have the highest bias no?

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

    Why not back test the smart selection methodology? Also why specify lagged returns as independent variables when returns are generally not autocorrelated?

    • @ritvikmath
      @ritvikmath  5 месяцев назад +1

      good note to backtest the smart selection strategy and using richer features in future videos

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

    Love your videos, thanks for such easy and simple explanations on ACF,PACF,AR,MA,ARIMA

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

      Of course! Thanks for watching

  • @aiml66_bangerashashankchan81
    @aiml66_bangerashashankchan81 5 месяцев назад +1

    crazyy video!