Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. monkk
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    monkk

    @monkk

    0
    Reputation
    165
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    monkk Unfollow Follow

    Latest posts made by monkk

    • Need guidance how to implement intraday pair trading strategy

      Hello,

      May I ask for general guidance/examples how to implement intraday pair strategy working on 1minute data.
      Idea is:

      1. Calculate ratio/std
      2. If on open (or first 5 minutes) ratio is outside std then trade.
      3. If any open trades close before EOD.

      I'm bit struggling on how to calculate ratio/std on daily while backtesting time constraints on intraday data.
      Can I have both Daily and Intraday dataframes at once and how to implement time conditions?

      Thank you

      posted in General Discussion
      M
      monkk