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/

    Interactive Brokers native python API and Backtrader

    General Discussion
    2
    4
    1278
    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.
    • H
      Humbleguy last edited by

      Hi,
      Is there an effort to make Backtrader work with the native IB Python API rather than IbPy glue library.
      Interactive Brokers regularly updates the API and provides new features, but IbPy has not been developed for two years. It would be great if Backtrader can work with the native IB Python API.

      Thanks

      Fatih

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

        1. Community - EoDevelopment 1.x

        @humbleguy said in Interactive Brokers native python API and Backtrader:

        Interactive Brokers regularly updates the API and provides new features

        1. Which features?

        See for example Community - TWS API python

        @humbleguy said in Interactive Brokers native python API and Backtrader:

        but IbPy has not been developed for two years

        1. Is it no longer working?
        H 1 Reply Last reply Reply Quote 0
        • H
          Humbleguy @backtrader last edited by

          @backtrader
          An example of recently introduced feature is live tick data, which was not available in earlier versions. In older versions only 250msec binned data was available. They are constantly adding and modifying things as their API is constantly evolving.

          I do not know if IbPy is working or not, I am not using it. However, the fact that it has not been updated for 2 years is a serious concern.
          In the thread you point out, the same question is discussed, however, it seems like Backtrader is not ported to native IB API.

          Thanks

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

            @humbleguy said in Interactive Brokers native python API and Backtrader:

            I do not know if IbPy is working or not, I am not using it. However, the fact that it has not been updated for 2 years is a serious concern.

            It's working. If you don't use it, I do really fail to see what the actual concern is.

            @humbleguy said in Interactive Brokers native python API and Backtrader:

            In example of recently introduced feature is live tick data, which was not available in earlier versions

            If you don't use IbPy, my humble guess tells me you are not using Interactive Brokers, at least with backtrader, which means you are not using backtrader either.

            What's the actual point then?

            @humbleguy said in Interactive Brokers native python API and Backtrader:

            In the thread you point out, the same question is discussed, however, it seems like Backtrader is not ported to native IB API.

            It doesn't seem and it has never been claimed to. It doesn't use the Python wrapper for the API which IB has developed. (The native API is a wire protocol and has nothing to do with Python or any of the languages they offer as an SDK)

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