Check line 29 should be self.__dollar_amount the '__' at the beginning is missing
@johndoe-eg7le Жыл бұрын
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 !!!
@krissn81112 жыл бұрын
Great video. I had been working on a mechanical trailing SL but now with the TrailingStrategy i think it will make my backtests simpler.
@vdzneladze12 жыл бұрын
Thank you for this effort, please continue.
@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.
@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 Жыл бұрын
Sure. I'll probably do another backtesting.py video next time it gets an update
@nachoph18127 ай бұрын
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 !!!??? 😊
@kumarmallipeddi30869 ай бұрын
Could you please do a video for Options Back testing based on the Futures data?
@BOSprodz2 жыл бұрын
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
@anderwork75712 жыл бұрын
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
@SanjayRaut-l4v10 ай бұрын
wow, so nice
@bhagvadsanatani6224 Жыл бұрын
any idea how you mention sl criteria for forex pairs
@ChadThackray Жыл бұрын
Not sure what you mean. Should be the same as any other stop loss?
@Pasarkode-box-of-code9 ай бұрын
nice bro!
@vdzneladze12 жыл бұрын
Chad, please advise: can we implement and if Yes, how - multiple conditions on SL