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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

ความคิดเห็น • 27

  • @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

  • @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 9 วันที่ผ่านมา

    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

  • @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!

  • @fhashim
    @fhashim 5 หลายเดือนก่อน +1

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

    • @ritvikmath
      @ritvikmath  5 หลายเดือนก่อน

      More to come!

  • @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!

    • @ritvikmath
      @ritvikmath  5 หลายเดือนก่อน

      🤯

  • @YanpingLiu-ie5oj
    @YanpingLiu-ie5oj 5 หลายเดือนก่อน

    a