Stop Losses in Backtesting.py

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 17

  • @hdellacorte
    @hdellacorte ปีที่แล้ว

    Check line 29 should be self.__dollar_amount the '__' at the beginning is missing

  • @johndoe-eg7le
    @johndoe-eg7le 10 หลายเดือนก่อน +1

    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 ปีที่แล้ว +1

    Great video. I had been working on a mechanical trailing SL but now with the TrailingStrategy i think it will make my backtests simpler.

  • @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.

  • @vdzneladze1
    @vdzneladze1 2 ปีที่แล้ว +1

    Thank you for this effort, please continue.

  • @nachoph1812
    @nachoph1812 4 หลายเดือนก่อน

    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 !!!??? 😊

  • @jimijames3251
    @jimijames3251 ปีที่แล้ว +1

    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

  • @kumarmallipeddi3086
    @kumarmallipeddi3086 7 หลายเดือนก่อน

    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

  • @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

  • @SanjayRaut-l4v
    @SanjayRaut-l4v 8 หลายเดือนก่อน

    wow, so nice

  • @Pasarkode-box-of-code
    @Pasarkode-box-of-code 7 หลายเดือนก่อน

    nice bro!

  • @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?