Backtesting Rayner Teos 26,210% Turtle Trading Strategy in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2023
  • In this video we are testing the Enhanced Turtle Trading Strategy presented by Rayner Teo in Python.
    Check out my website here:
    www.pythonforfinance.info
    Get the Notebook/Source code by becoming a Tier-3 Channel member:
    / @algovibes
    Rayners video:
    • This SIMPLE Trading St...
    Disclaimer: This video is not an investment advice and is for informational and educational purposes only.
    #Python #Trading #Strategy
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @yiminghu4684
    @yiminghu4684 5 หลายเดือนก่อน +1

    Thank you! Look forward for the follow up video!

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      Thanks a lot for leaving a comment and I will see what I can do!

  • @ragnarocking
    @ragnarocking 5 หลายเดือนก่อน +2

    love your tutorials. Very easy to follow

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      Thank you my man :-)

  • @christosck
    @christosck 5 หลายเดือนก่อน +2

    thank you great material once again. i believe this implementation is missing sell conditions to capture profit, as with stop losses alone you are just taking an unecessary beating.

    • @Algovibes
      @Algovibes  3 หลายเดือนก่อน

      thanks mate! Quite a good point

  • @TheEcherriman
    @TheEcherriman 5 หลายเดือนก่อน +1

    Thank you - there seems to be a bit of a chasm between what Rayner suggested and what you found !

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      Welcome mate. Thanks for watching!

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

    can you make a video about short squeeze calculation ?

  • @toddroloff93
    @toddroloff93 5 หลายเดือนก่อน +1

    Nice Job!!

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

      Thanks mate!

  • @reubenstanley9822
    @reubenstanley9822 5 หลายเดือนก่อน

    Can you make a video on the Alpaca API?

  • @redspidermkv4525
    @redspidermkv4525 5 หลายเดือนก่อน +1

    Hi, I may have missed something but your if statements, first, you open a position when you're not in one, setting in_position = True
    You then go straight into the next if statement, if in_position. Perhaps use a continue in the previous if statement? Technically, its possible you're at the lowest point in your 10 day history so it might look like you just opened a position and then immediately closed it again?
    Granted your buy and sell price will be the same so PnL will be 0 for the day but feels like its not an accurate run of the strategy...

    • @parkuuu
      @parkuuu 5 หลายเดือนก่อน

      Yeah it's either he puts a continue below the `in_position=True` or put the 2nd statement in an elif clause instead of IF

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      Commented on that on another comment. In general: Agreed. In this case: Not necessary (due to a very low probability of occurrence).

  • @anilmm2005
    @anilmm2005 5 หลายเดือนก่อน +1

    Excellent one but yes no of trades and returned are way too low for this one . Waiting for the follow up video

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      Thanks mate!

  • @tracywang1
    @tracywang1 4 หลายเดือนก่อน +1

    Should we use adj close or close?

    • @Algovibes
      @Algovibes  3 หลายเดือนก่อน

      Hard so say in general - it really depends

  • @wilmenmedina9615
    @wilmenmedina9615 5 หลายเดือนก่อน +1

    The best channel ❤❤❤❤

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      Thanks mate. I man delighted to read this!

  • @jean-francoislebroch9171
    @jean-francoislebroch9171 5 หลายเดือนก่อน +2

    Great! Thank you, try to implement the short side, it's part of the gravy

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน +1

      Thanks buddy, I will!
      Cheers

  • @tjoppies
    @tjoppies 5 หลายเดือนก่อน +1

    Brilliant thanks - you always make it look so easy :) - Could you explain how you find the ticker symbols available to look at? Also, might be interesting to look at different timeframes like the 4hours etc as it might produce more trades. also agreed with below adding the short side would be very useful KR

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      Thanks mate! I am usually just hammering in the symbol I am interesting in into the finance yahoo website and getting the symbol thrown out.

  • @killsterak16
    @killsterak16 5 หลายเดือนก่อน

    Why not you adding the `continue` after your buy condition?
    So that way you will not execute the sell condition on the same candle.
    I was trying to generate signals for my strategies using similar backtest logic and got some absurd signals. Turned out that absent `continue` was a bug that was messing my signals generation logic out.

    • @Algovibes
      @Algovibes  5 หลายเดือนก่อน

      First of all: Good comment, agreed in general. I didn't do it on this one because the probability you will have a signal on the same candle is so low, I just didn't implement it. You can add it, it won't change anything on the outcome.

  • @its_code
    @its_code 5 หลายเดือนก่อน +1

    ❤❤❤❤❤❤❤😊😊😊😊wowow

  • @TESLA_MOTOR
    @TESLA_MOTOR 5 หลายเดือนก่อน +3

    How does this trading stuff work? I'm really interested but I just don't know how it go about it. I heard people really make it huge trading

    • @Nicolewhit
      @Nicolewhit 5 หลายเดือนก่อน

      You actually need an expert trader assign by a registered brokerage company to help you out. I currently trade with Mrs Mary Gail Benner. I think she's the best when it comes to investment.

    • @CYBERTRUCK18
      @CYBERTRUCK18 5 หลายเดือนก่อน

      Mary Gail is the real deal when it comes to trading. I'm a living testimony too.

    • @TESLA_MOTOR
      @TESLA_MOTOR 5 หลายเดือนก่อน

      Please how do I contact her?

    • @Nicolewhit
      @Nicolewhit 5 หลายเดือนก่อน

      She's on telegram

    • @Nicolewhit
      @Nicolewhit 5 หลายเดือนก่อน

      Grimhal 👈
      That's her username