Python For Finance - 'Close Near Low' Trading Strategy Backtest

preview_player
Показать описание
In this video I will backtest a trading strategy on a number of indices and compare the results to determine if it is profitable.

The strategy rules are: If the daily close is within the lower 20% of the daily range then go long at the close and hold for a day

Рекомендации по теме
Комментарии
Автор

Interesting observation, thanks for the video!

IRWBRW
Автор

Hey Russ, hope you’re doing fine. Thank you very much for the good work. I know you’re busy with creating games but bro please keep posting videos like this. You have different and based perspectives compared to other supposed traders posting meaningless strategies here. You also teach good. Please don’t stop making trade videos in Python. Thanks.

goodyonsen
Автор

Hi, great video but I think there is a problem with your system, I didn't see when you close the positions that you open. I mean when you get a long signal from your system then when you close it? Imagine that you are in a downtrend market and you get many long signals which means you open long positions but when you close those positions? I think this is why your system performs so good because you didn't define a closing strategy and as it can be seen from the diagram of S&P when the market is going down and for some months has a downtrend your system starts to become super profitable and just in those months it almost doubles your investment. I have to mention that there is not a problem with making profit in a downtrend market but the problem is your system is not opening short positions and it trades only in one direction. If you can give me more information regarding this it would be great.

alivarfan
Автор

I guess this strategie outperforms in a Bullmarket cycle. I am quite interested though how it fared through the winds of 2021 and 2022
Please update! :*

co.n.g.studios
Автор

It's an interesting video. However, trying to reproduce your results I noticed that if you change the dates (start = 2010-01-01, end = 2022-03-01), the system does not outperform SP500 any more (it is visible also in your graph). But, and that's the interesting point, it seems this strategy far outperforms SP500 when SP500 is not doing good (for example in the 2008 crisis). It might be a good strategy during volatile periods.

scalaluca
Автор

Hi Sir, thanks for posting this video.its very useful. I want to formulate 1 simple stratergy. If price close above previous day high buy and vice versa. Could you please post video on this.

பொருளாதாரம்
Автор

hi man thank you for the great videos, I was wondering if you can do forex and especially nnfx strategy

eurisko
Автор

Sir plz do golf game coding for us ...plzzz it's a request I need help coz m a beginner

qiratakmal