Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Strategy help
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • S

      Optimizer still running
      • spancham

      10
      1
      Votes
      10
      Posts
      2499
      Views

      S

      @support
      Thank you! I'll try that and let you know.

    • S

      Please advise on p settings. Thanks.
      • spancham

      21
      1
      Votes
      21
      Posts
      9129
      Views

      S

      Hi @support
      Thank you, I'll try that.

    • magenta.grimer

      Can't apply optimizer to another simple strategy!
      • magenta.grimer

      3
      0
      Votes
      3
      Posts
      696
      Views

      support

      @magenta-grimer

      Hello.

      Remove .isel(time=-1).

      ma_slow = close.rolling(time=parameter1).mean() #.isel(time=-1) ma_fast = close.rolling(time=parameter2).mean()#.isel(time=-1)

      It selects the last day, you need an entire series.

      Regards.

    • magenta.grimer

      Modify an example strategy to trade on the futures market
      • magenta.grimer

      8
      0
      Votes
      8
      Posts
      1617
      Views

      magenta.grimer

      @support Thank you very much!

      I hope to don't disturb you so often in the future @support , but before that I need help to "get going".

    • magenta.grimer

      Help in developing a strategy
      • magenta.grimer

      9
      0
      Votes
      9
      Posts
      2475
      Views

      support

      @magenta-grimer Hi, the lookback period in the backtester function is expressed in calendar days, and the indicators are expressed in trading days. So as far as the lookback period is long enough to include all indicator needed periods, all choices are fine.

      If the longest period needed for an indicator is 10 trading days (2 weeks), a lookback period of (for example) 20, 50 or 100 for the backtester function will deliver the same results. The shorter the better for efficiency.

    Powered by NodeBB | Contributors
    • Documentation
    • About
    • Career
    • My account
    • Privacy policy
    • Terms and Conditions
    • Cookies policy
    Home
    Copyright © 2014 - 2026 Quantiacs LLC.
    Powered by NodeBB | Contributors