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

Поділитися
Вставка
  • Опубліковано 27 чер 2024
  • Trading $1000 using every tree-based machine learning model!
    Decision Trees : • Decision Trees
    Random Forest : • Random Forests : Data ...
    Gradient Boosted Decision Trees : • Gradient Boosting : Da...
    0:00 Why Trees?
    2:06 The Method
    11:37 The Results

КОМЕНТАРІ • 25

  • @person-xb7ij
    @person-xb7ij 2 місяці тому +7

    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 !

  • @andrashorvath2411
    @andrashorvath2411 2 місяці тому +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!

  • @etfexpectations-sectoroutl5323
    @etfexpectations-sectoroutl5323 26 днів тому

    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?

  • @CrypticManu
    @CrypticManu 2 місяці тому +2

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

  • @veerjain4537
    @veerjain4537 2 місяці тому

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

    • @ritvikmath
      @ritvikmath  2 місяці тому

      Of course! Thanks for watching

  • @fhashim
    @fhashim 2 місяці тому +1

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

  • @antonio_16180
    @antonio_16180 2 місяці тому +2

    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 2 місяці тому +3

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

  • @EduardoVilla-ot7lu
    @EduardoVilla-ot7lu 2 місяці тому

    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?

  • @jasonree
    @jasonree 2 місяці тому

    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 2 місяці тому

    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.

  • @aiml66_bangerashashankchan81
    @aiml66_bangerashashankchan81 2 місяці тому

    crazyy video!

  • @user-dh2mv4qr5q
    @user-dh2mv4qr5q 2 місяці тому +1

    Do you do hyperparameter tuning when you create a model?

    • @ritvikmath
      @ritvikmath  2 місяці тому +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!

    • @user-dh2mv4qr5q
      @user-dh2mv4qr5q 2 місяці тому

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

  • @yeoj3429
    @yeoj3429 2 місяці тому

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

    • @ritvikmath
      @ritvikmath  2 місяці тому +1

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

  • @hu5116
    @hu5116 2 місяці тому

    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!

  • @vaibhavnakrani2983
    @vaibhavnakrani2983 2 місяці тому

    Random forest should have the highest bias no?

  • @martin777xyz
    @martin777xyz 29 днів тому

    Do you share your code?

  • @YanpingLiu-ie5oj
    @YanpingLiu-ie5oj 2 місяці тому

    a