How I Pick Stocks.

  Рет қаралды 15,955

ritvikmath

ritvikmath

Күн бұрын

Пікірлер: 41
@JonesDawg
@JonesDawg 4 жыл бұрын
This is a momentum strategy with a filter on volatility. Great idea and easy to understand. Looking forward to future vids on the topic!
@josequinonez3079
@josequinonez3079 4 жыл бұрын
Hi ritvikmath! Great video! Congratulations on making so easy to understand these concepts! You said 90% of your investments go to index funds. Are you going to make a video about your strategy for that? Thanks !
@roeiohayon4501
@roeiohayon4501 4 жыл бұрын
Thanks for the video! (Nice intro BTW)
@ritvikmath
@ritvikmath 4 жыл бұрын
thank you :)
@pragtinarang6680
@pragtinarang6680 4 жыл бұрын
Great Video. Please make more videos about trading stocks. One suggestion is... something about what expectations to set or the emotional mindset to be successful in trading. For example, if you sell a stock too soon, no matter what profit you make, it always feels like a loss. Do you see?
@ritvikmath
@ritvikmath 4 жыл бұрын
Interesting idea; there is a lot of psychology that goes with trading. I'll try to address it in a future video. Thanks!
@FB-tr2kf
@FB-tr2kf 4 жыл бұрын
Love it rit. Esp u providing the code.
@ritvikmath
@ritvikmath 4 жыл бұрын
Always!
@ResilientFighter
@ResilientFighter 3 жыл бұрын
@ritvik you should also do cointegration and Kalman filter
@danch_ranch6594
@danch_ranch6594 2 жыл бұрын
Hey ritvik, I discovered your channel when I was first introduced to Machine Learning and more advanced statistics. I have by now watched about 5-10% of your videos and I am amazed with your knowledge. Thank you! My question is about the series_tickers.p file; When I tried to open it in sublime as a ().py file, my dad recognized it as a hexadecimal file. So we tried to convert it to binary form, considering the script was "rb" or "read binary" (I think). So what is the advantage of hexadecimal data vs. normal csv file or binary data? Thank you once again for your time making these videos:)
@MegaNightdude
@MegaNightdude 4 жыл бұрын
Hi ritvikmath, thanks for the awesome video. I was wondering what would be sensible thresholds for the mean and standard deviation of the monthly ROI (%), above and below which (respectively) a stock would seem worth buying and holding for a month? I know the caveats and disclaimers, but can you think of a good rule of thumb that has worked for you? Thanks!
@loluser124
@loluser124 3 жыл бұрын
Look up Sharpe Ratio
@JJ-ck9iy
@JJ-ck9iy 4 жыл бұрын
This is interesting!
@ritvikmath
@ritvikmath 4 жыл бұрын
thanks!
@cryptosocunswnews8950
@cryptosocunswnews8950 4 жыл бұрын
Very helpful video, just subscribed. I was able to run the code attached but I am wondering how I can do this for ASX listed companies. Are the same packages applicable in the case of ASX data? Thank you!
@anindadatta164
@anindadatta164 4 жыл бұрын
This will work well where trend is upwards and volatility is low, the kind of market observed in last 10 years primarily due to QE. However, for more volatile EM, some short term and medium term MAs could be added to the model for better results.
@asif09ansari
@asif09ansari 4 жыл бұрын
Nice video Ritvik! What is the exit strategy?
@lorenzobaggi161
@lorenzobaggi161 2 жыл бұрын
Incredible introa hahahh
@dasundesilva5588
@dasundesilva5588 4 жыл бұрын
Please do more strategies like this
@bapireddy5790
@bapireddy5790 4 жыл бұрын
I think that you are assuming past returns reflect future performance. What's your reasoning for this assumption
@ritvikmath
@ritvikmath 4 жыл бұрын
Good question! Clearly this is not always true, especially when dealing with individual stocks. However, this method attempts to find stocks with a consistent pattern of high returns within a recent time window. Of course we could see that the next day, some event can happen that causes the price to drop significantly.
@philipphabicht497
@philipphabicht497 4 жыл бұрын
Great video! But how do you make your own ticker?
@derekfun75
@derekfun75 4 жыл бұрын
Thank you for sharing the codes and the insight. I followed exactly your codes inJupyter notebook and I cannot generate any graphs after running the code. NO charts show up. And I also incorporate %matplotlib inline and still no charts shows up. Do you have any clue?
@danch_ranch6594
@danch_ranch6594 2 жыл бұрын
I have the same problem. Let me know if you find anything. Thanks! EDIT: I think the problem lies within the plotting function itself. Instead of using the series_tickers.p, and converting the hexadecimal file into binary form, I tried making a csv file with some random stocks tickers I know, and it went through without any errors, but there still was no plotting. I thougt the problem was the series_tickers.p file, but using logic, it wasnt. So my theory is that the plotting function is the error
@hunterfeagans590
@hunterfeagans590 4 жыл бұрын
Are you using an arithmetic or geometric mean? I suppose since you are using rolling 1-mo returns that a geometric mean would be optimal -- considering compounding returns.
@mihirbhatia9658
@mihirbhatia9658 4 жыл бұрын
Do you have any experience with APIs that use minute level data to make short term predictions to day-trade ? I haven't been able to find any free and reliable source of tick data.
@ritvikmath
@ritvikmath 4 жыл бұрын
Hmm .. I haven't used such an API but if I come across one, I'll let you know!
@mihirbhatia9658
@mihirbhatia9658 4 жыл бұрын
@@ritvikmath cool thanks. Your channel is amazing.
@shawnroy1933
@shawnroy1933 4 жыл бұрын
I think the Yahoo Finance API provides reliable and real-time data during open market hours. Or maybe Robinhood/TD Ameritrade/E-Trade/one of those guys have an API to get real time data and submit orders via API.
@FunnyDIYerGardner
@FunnyDIYerGardner 2 жыл бұрын
How did it perform In last 1 year in 2022. Would you be able to share performance of the code
@zollen123
@zollen123 3 жыл бұрын
As an amateur like many of us, do you think it is a good *exercise* for us to try to use SARIMAX to develop our own stock picking strategy?
@MrAlket1999
@MrAlket1999 4 жыл бұрын
How can I modify the code in order to get the stock that lost the most ground in the same period no matter the volatility ?
@ritvikmath
@ritvikmath 4 жыл бұрын
If you want to look for stocks that have significantly decreased over the period, try changing the line starting with "if avg_return > min_avg_return" to "if avg_return < min_avg_return" and then set min_avg_return to some negative percent like -0.1
@MrAlket1999
@MrAlket1999 4 жыл бұрын
@@ritvikmath Thanks, it works :-) In the link below there seem to be a strong loser for the period considered: finance.yahoo.com/quote/clvs?ltr=1
@MrKhanRizwan
@MrKhanRizwan 4 жыл бұрын
This code no longer works, as yahoo finance is not working with the datareader, any thoughts on how to resolve that problem?
@gigz54
@gigz54 2 жыл бұрын
Hopefully you sold that YNDX before it got to today's price!
@Sam-on3eq
@Sam-on3eq 4 жыл бұрын
Awesome video! Wondered how it would look in R, so I made a R shiny app based on your Python code. In the process, found out that Numpy returns population standard deviation by default. App might have some slow load times and a few bugs I missed. github.com/parmsam/simple-stock-picker/ App was too slow when I attempted to integrate avg return and dev return sliders, so I opted out of those.
@2A9D8F
@2A9D8F Жыл бұрын
great job mate
@philippe.geukers
@philippe.geukers 4 жыл бұрын
I backtested the algorithm, and it didn't offer a consistent return. On a single stock like AAPL or Nvidia, it doesn't perform as well as just buying the stock, and on the hole economy it stumbles with the market and doesn't bounce back with it. I tested from 2017 to 2020, and with different parameters, but none of them gave a positive alpha. Do you have any other details or ideas that might make it profitable?
Basics of Stock Trading : Stock Trading Principles
17:04
ritvikmath
Рет қаралды 13 М.
Time Series Talk : Stationarity
10:02
ritvikmath
Рет қаралды 302 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
How Bill Gates knew he was different
8:54
CBS Sunday Morning
Рет қаралды 11 М.
This Dumb Rule Destroyed My AI Stock Trading Strategies
13:32
ritvikmath
Рет қаралды 3,4 М.
Mark Cuban is in cash and wasn't buying the dip in Monday's sell-off
6:29
Candlestick Patterns : Stock Trading Basics
10:28
ritvikmath
Рет қаралды 7 М.
Predicting Stock Prices and Making $$$ Using the ARMA Model
9:57
GARCH Model : Time Series Talk
10:25
ritvikmath
Рет қаралды 169 М.
Intermediate Candlestick Patterns : Stock Trading Basics
8:45
ritvikmath
Рет қаралды 4,8 М.
Every Ranking Metric : MRR, MAP, NDCG
21:17
ritvikmath
Рет қаралды 2,2 М.
Stock Forecasting with GARCH : Stock Trading Basics
7:26
ritvikmath
Рет қаралды 78 М.
Contrastive Loss : Data Science Basics
20:04
ritvikmath
Рет қаралды 5 М.