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/

    Collect pending orders from interactive brokers independ to the strategy

    General Code/Help
    2
    3
    234
    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.
    • Thomas BOURDIN
      Thomas BOURDIN last edited by Thomas BOURDIN

      hello everybody,
      I'm new in backtrader. It's look like a greate job !
      I use Interactive Brokers and I would like to collect all pendings orders from strategy and
      manuels orders. I mind about reqAllOpenOrders from

      self.cerebro.broker.ib.conn.reqAllOpenOrders()
      Is it the good method to do this ?

      Let me know if I found the good object.

      Thanks

      1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators last edited by

        There is no good method because the implementation is not meant to retrieve pending/open orders.

        You need to write a custom broker.

        1 Reply Last reply Reply Quote 0
        • Thomas BOURDIN
          Thomas BOURDIN last edited by

          Thank you.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors