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/

    split position in chunks and issue limit orders at X minutes intervals

    General Code/Help
    1
    2
    38
    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
      Dimasik007 last edited by

      I am using ccxtbt to do live trading. My strategy is based on hourly candles. When I am getting a long or short signal I want to split my position in 5-10 chunks and every 2-5 minutes generate a limit order if the limit order is not filled in 2 minutes then the market order will be sent and after another 2 minutes I want to start again with the next chunk. Can anyone suggest how would I implement something like this?

      I assume sizers would be the best place to start and I understand that I can send portions of the position in tranches. Although, I want to send multiple tranches during a single candle after my signal was generated.

      Thanks a lot in advance.

      1 Reply Last reply Reply Quote 0
      • D
        Dimasik007 last edited by

        @backtrader sorry to bother but is there any chance you can suggest anything for this or that question?

        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(); }); }