Stop Losses in Backtesting.py

  Рет қаралды 16,083

Chad Thackray

Chad Thackray

Күн бұрын

Пікірлер: 17
@hdellacorte
@hdellacorte Жыл бұрын
Check line 29 should be self.__dollar_amount the '__' at the beginning is missing
@johndoe-eg7le
@johndoe-eg7le 9 ай бұрын
I was not finding much info on how to set the trailing stop loss, your video make is super clear and now my strategy testing is working !!! thanks a million !!!
@krissn8111
@krissn8111 2 жыл бұрын
Great video. I had been working on a mechanical trailing SL but now with the TrailingStrategy i think it will make my backtests simpler.
@vdzneladze1
@vdzneladze1 2 жыл бұрын
Thank you for this effort, please continue.
@jimijames3251
@jimijames3251 Жыл бұрын
Thank you for explaining this topic. It was a very important point. Unfortunately, the creator did not provide any specific examples about order, trade and position. If possible, could you please also provide some explanations about these topics so that we can better understand their use and differences? Thank you.
@ChadThackray
@ChadThackray Жыл бұрын
Sure. I'll probably do another backtesting.py video next time it gets an update
@PouyaMofidi
@PouyaMofidi Жыл бұрын
Thanks for the video and your descriptions What the boxes behinde the candles? I mean the slight green and red boxes in background somehow following the main trend.
@nachoph1812
@nachoph1812 3 ай бұрын
Excelent video ! I don’t know if you or somebody is going to see this . But I don’t like the fact that it opens a trade if a stop loss was hit in the same candle (with open at close activate ) . Any idea hoy to avoid this !!!??? 😊
@kumarmallipeddi3086
@kumarmallipeddi3086 6 ай бұрын
Could you please do a video for Options Back testing based on the Futures data?
@BOSprodz
@BOSprodz Жыл бұрын
All other normal tp/sl and optimizing I did has worked like your tutorials until I implemented the trailing stoploss. When running (in Jupyter notebook) I keep getting 'dead kernel' Any ideas what could be causing this? Thanks
@Pasarkode-box-of-code
@Pasarkode-box-of-code 6 ай бұрын
nice bro!
@SanjayRaut-l4v
@SanjayRaut-l4v 7 ай бұрын
wow, so nice
@anderwork7571
@anderwork7571 2 жыл бұрын
Hello, I am trying to collect the data of each trade within the backtesting results. Reading the documentation, I have seen that the trades have a "pl_pct" attribute that reflects the profit or loss in percentage of each trade. I'm right? However, when I try to collect the trade data treating it as a dataframe: stats[_trade] I don't find the column referring to that property. How can I find that type of data (pl, pl_pct...) of each trade once the backtesting is done? Thank you
@vdzneladze1
@vdzneladze1 2 жыл бұрын
Chad, please advise: can we implement and if Yes, how - multiple conditions on SL
@bhagvadsanatani6224
@bhagvadsanatani6224 Жыл бұрын
any idea how you mention sl criteria for forex pairs
@ChadThackray
@ChadThackray Жыл бұрын
Not sure what you mean. Should be the same as any other stop loss?
Riskfolio Quickstart Guide - Free course in python
46:23
Chad Thackray
Рет қаралды 10 М.
Backtesting.py - Full course in python
1:09:34
Chad Thackray
Рет қаралды 190 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 10 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 10 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 36 МЛН
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 809 М.
Stop Loss Strategy VS Buy & Hold? (11 year study)
9:56
Financial Wisdom
Рет қаралды 217 М.
Vectorbt for beginners - Full Python Course
3:59:04
Chad Thackray
Рет қаралды 75 М.
Pandas TA: A complete Guide
25:31
Chad Thackray
Рет қаралды 24 М.
Python Logging: How to Write Logs Like a Pro!
11:02
ArjanCodes
Рет қаралды 172 М.
Rayner Teo Bollinger Bands Strategy Backtest In Python High Return
23:29
10x Data Scraping with AsyncIO / Concurrency
24:05
Chad Thackray
Рет қаралды 2,6 М.
Auto-detect Support and Resistance in Python
17:06
Chad Thackray
Рет қаралды 22 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 10 МЛН