"Near Bulletproof indicator"? Constructing JPMorgans Trading Strategy [in Python] 📈VIX/S&P500

  Рет қаралды 10,978

Algovibes

Algovibes

Күн бұрын

Пікірлер: 62
@rajeevmenon1975
@rajeevmenon1975 2 жыл бұрын
Hey AlgoVibes. You come up with so nice videos. Really engrossing ones. Please keep coming up with more of such quality contents. God bless you
@Algovibes
@Algovibes 2 жыл бұрын
Thank you so much Rajeev and everyone who liked your comment. Appreciate your kind words!
@justcars2454
@justcars2454 2 жыл бұрын
THANK YOU ALGOVIBES
@Algovibes
@Algovibes 2 жыл бұрын
WELCOME justcARS 😛
@victorbartolo287
@victorbartolo287 2 жыл бұрын
Very interesting and once again congratulations for producing such clean and easy to understand code. First of all it looks like the indicator fails when the VIX goes super high but the the rest of the signals seem pretty decent. But it is probably difficult to determine (in real time) if the value of the VIX will continue to rise if the indicator is used.
@Algovibes
@Algovibes 2 жыл бұрын
Thanks man. Yeah, that's a good observation indeed.
@prajwaltuladhar6742
@prajwaltuladhar6742 2 жыл бұрын
Amazing content as always! Would love to see Low Volatility portfolio construction and its alpha generation, etc.
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot man :-)
@jsm3233
@jsm3233 Жыл бұрын
Fantastic video. So much to absorb, I'm going to watch it again. At the beginning you're taking the rolling mean of the previous 30 days, but that's not a month, it's 6 weeks (plus many/most(?) 6 week periods would include a holiday). This probably wouldn't impact the number of entry signals, but it might shift the timing of the entry by a day or two (?), which might account for the slight difference to the JPM results?
@Algovibes
@Algovibes Жыл бұрын
Thanks a lot mate. That's a good observation and should explain some of the minor differences indeed.
@victorl.mercado5838
@victorl.mercado5838 2 жыл бұрын
Another great video. Another possible explanation for the lower mean returns in your test is that their one month moving average was probably 21 trading days (not 30 days),
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot Victor. Good point!
@rraul
@rraul 2 жыл бұрын
Thanks for sharing. Always nice videos
@Algovibes
@Algovibes 2 жыл бұрын
Thx rraul :-)
@Lnd2345
@Lnd2345 2 жыл бұрын
Amazing content, keep it up please.
@Algovibes
@Algovibes 2 жыл бұрын
Thank you very much mate
@PavelSumik
@PavelSumik 2 жыл бұрын
just wonderful, thank you
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot Pavel!
@rayanarab669
@rayanarab669 2 жыл бұрын
Great video
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot buddy
@Lnd2345
@Lnd2345 2 жыл бұрын
Is playing with the core parameters a sensible strategy to improve the performance of these types of strategies? For example, changing the MA window to 10 days increases the mean return to around 10 percent. Does that make sense? Thanks again for the great video.
@Algovibes
@Algovibes 2 жыл бұрын
Make sense, yes! Thanks a lot for watching and sharing your thoughts.
@Brennmeister
@Brennmeister 2 жыл бұрын
Hi,it’s me again :) I have maybe an cool challenge. Try to generat a Elliot wave indicator. It uses some series of highs an lows. The challenge is to indicate every Elliot wave in a df.
@Algovibes
@Algovibes 2 жыл бұрын
Hi, happy to read your name :-) Thanks for watching and thanks for the suggestion.
@paulslacknoise
@paulslacknoise 2 жыл бұрын
Amazing stuff! On a side note, would be interesting to test this strategy again in like 2 years. Chances are high all profits are getting wiped out but let’s see 😂
@Algovibes
@Algovibes 2 жыл бұрын
Thanks mate, Let's see about your claim 😛
@bitterbob30
@bitterbob30 2 жыл бұрын
JPM has the caveat that the signal doesn't apply during a recession. Problem is you can't confirm a recession until two quarters (six months) at least.
@davidh4632
@davidh4632 2 жыл бұрын
Love your work, but the risk is the model is optimised in specifying 50% deviation from vix mav, further you don't know when u are in a technical recession until after the event due to lag in gdp being released. How about using vix as input into random forest model to predict when to buy stocks?
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot man. Yea that's a valid point.
@adrenaline1
@adrenaline1 2 жыл бұрын
Could I offer a different take? While the signal looks programmed as per the article, I believe JPM's instruction after that was to use the signal to buy the S&P 500. Since I am relatively new to Pandas , I was wondering how one could combined financial data of two tickers. Maybe the strat could be reasessed for 6month performance on the S&P when using the VIX signal
@Algovibes
@Algovibes 2 жыл бұрын
Hi Andre, sure! Be invited to check out my Python for Finance playlist. I am using 1.000s of tickers in one dataframe and trading strategy.
@itayhilel2168
@itayhilel2168 2 жыл бұрын
This was very interesting!! Useful? Not so much, but very interesting
@TheLiquidMix
@TheLiquidMix 2 жыл бұрын
could set up your algo bot to be triggered after this indicator has been met, then trade for the period of 6 months, knowing youll most likely out perform the market?
@hannes6116
@hannes6116 2 жыл бұрын
MA20 may fit better since Stock trading ist closed on the Weekend. Further it would bei nice too see the Signals in the chart. BUT once more thanks great video
@Algovibes
@Algovibes 2 жыл бұрын
Thanks my man!
@prashantdani8527
@prashantdani8527 2 жыл бұрын
Yes really nice video one can learn a lot
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot Prashant
@ventiladorbueno1846
@ventiladorbueno1846 2 жыл бұрын
Very interesting 🧐 thank you
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot mate
@pfz5487
@pfz5487 2 жыл бұрын
this is cool, thx a lot
@Algovibes
@Algovibes 2 жыл бұрын
Thx for watching :-)
@ahmetbinatlioglu8848
@ahmetbinatlioglu8848 2 жыл бұрын
Bro you are the best
@Algovibes
@Algovibes 2 жыл бұрын
Thank you my friend!
@bitterbob30
@bitterbob30 2 жыл бұрын
Great video as it's very instructive. However, I think the signal itself is complete bollocks. But the great thing is you have shown us how to piece and parse the data together to think up and code our own signals to test. Thank you.
@Algovibes
@Algovibes 2 жыл бұрын
Thanks a lot man. Also thanks for sharing your thoughts!
@kunedroid3446
@kunedroid3446 2 жыл бұрын
Couldn't you just grab the current price 6 months ahead and compare with the entry price? Not sure why we need the cumprod/accumulate all days in between. Cheers!
@TheLiquidMix
@TheLiquidMix 2 жыл бұрын
He has other videos for stock price returns with explanations :)
@Algovibes
@Algovibes 2 жыл бұрын
Cheers mate! Yes, you can. In that case you would just screen for the very last entry in the subframe and divide that by the very first entry.
@chidubemezimorah2405
@chidubemezimorah2405 2 жыл бұрын
Is Algovibes using a website or program to run his python? If so which one
@Algovibes
@Algovibes 2 жыл бұрын
Using Jupyter Notebook here. Be invited to check out the Python Introduction playlist. I am introducing all tools I am using there.
@aaronsarinana1654
@aaronsarinana1654 2 жыл бұрын
@@Algovibes by the way, have already showed in some other video how to use python to send real time orders mainly for stocks? Something like using the interactive brokers API or alpaca? I know you have done that for crypto using binance. Thanks for the great content!
@harrybellingham98
@harrybellingham98 2 жыл бұрын
any chance you could do a video on tradingview webhooks and python?
@Algovibes
@Algovibes 2 жыл бұрын
Not planned in the near future, but noted. Thanks for your suggestion!
@bdcash
@bdcash 2 жыл бұрын
Wouldn't you combine this with a stop loss? You'd need to be gutsy to hold blindly for 6 months if you were headed for -30%.
@Algovibes
@Algovibes 2 жыл бұрын
Sure. I was just testing the strategy as described in the article. There is probably a lot of improvement potential. In general the strategist just wanted to show the good buying opportunity in those situations.
@bdcash
@bdcash 2 жыл бұрын
@@Algovibes Thanks, and for your content 👍
@mohakaz4157
@mohakaz4157 2 жыл бұрын
Thanks
@Algovibes
@Algovibes 2 жыл бұрын
Thank YOU! :-)
@its_code
@its_code 2 жыл бұрын
WOW 😜🤗🤗💕💕🤑🤑💷💶💴💵
@Algovibes
@Algovibes 2 жыл бұрын
😀
@its_code
@its_code 2 жыл бұрын
@@Algovibes 😳❤️❤️
Tradingview Technical Indicators Integrated in Python [Intro]
5:57
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 25 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 56 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 3,3 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 55 МЛН
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 809 М.
AES: How to Design Secure Encryption
15:37
Spanning Tree
Рет қаралды 165 М.
The Problem With Microservices
17:47
Continuous Delivery
Рет қаралды 435 М.
Trading Psychology | Why Normal Doesn’t Make Money | Part 1
18:39
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 206 М.
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 394 М.
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 25 МЛН