Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Parallel tardes

    Indicators/Strategies/Analyzers
    2
    7
    89
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dave78 last edited by

      Hello
      I wonder if backtrader allows to back-test the parallel signals? I mean when the system generates at each of the few consecutive bars but the trades are no existed before the next signal occurs? Eg buy at days 1,2,3 - exit at days 7,8,9 (for entries at 1,2,3)

      D 1 Reply Last reply Reply Quote 0
      • D
        Dave78 @Dave78 last edited by

        @dave78

        hi
        any idea if this is possible with backtrader???

        vladisld 1 Reply Last reply Reply Quote 0
        • vladisld
          vladisld @Dave78 last edited by

          @dave78 No sure I understand the question correctly - but I don't see any problem in generating entry signals on first tree days and exits for consequent 3 days 4 days after.

          Probably you can provide more context:

          • have you tried to implement such a strategy in Backtrader and experienced the problem ?
          • could you share some code that you've got so far ?
          1 Reply Last reply Reply Quote 2
          • D
            Dave78 last edited by

            thank you - I am just asking if this is possible as my strategy will generate lots of parallel trades - is there a limit to how many parallel trades back-trader can handle?

            vladisld 1 Reply Last reply Reply Quote 0
            • vladisld
              vladisld @Dave78 last edited by

              @dave78 There is no such limit AFAIK.

              D 1 Reply Last reply Reply Quote 0
              • D
                Dave78 @vladisld last edited by

                @vladisld

                lets say system generates 20 parallel entries and also generates exits randomly - can backtrack handle this?

                vladisld 1 Reply Last reply Reply Quote 0
                • vladisld
                  vladisld @Dave78 last edited by

                  @dave78 Sure, no problem with that. I'm usually live trading multiple instruments with few pending orders each on different price levels and it works flawlessly. Same code is used for backtesting - so really no problem at all.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
                  $(document).ready(function () { app.coldLoad(); }); }