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/

    IBBroker Issue

    General Code/Help
    2
    2
    605
    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.
    • C
      ccoder last edited by

      Does IBBroker has a get_open_orders method? If not, do you have to implement something yourself to do this for live trading?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • T
        ThatBlokeDave last edited by ThatBlokeDave

        Not that I can see from the source:

        Also see this
        https://community.backtrader.com/topic/176/oanda-test/21

        @Backtrader notes that it is not implemented in any broker.

        I think there are two options:
        1 - Track the open orders yourself
        2 - Create a variant of the store & ibbroker then implement the method. Assuming the IB API has a call to return open orders.

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