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/

    TWS API python

    General Discussion
    4
    9
    5305
    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.
    • R
      remroc last edited by

      Hello DRo,

      Do you plan to use TWS API python for backtrader as Interactive Brokers as released their own python API ?

      https://www.interactivebrokers.com/en/index.php?f=5041

      Many thanks for your answer.

      Cheers,
      Remroc

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

        Thanks for letting (all us) know. Nothing that was being tracked, but it was for sure due time.

        Will for sure be looked into.

        1 Reply Last reply Reply Quote 1
        • R
          remroc last edited by remroc

          U welcome and more info here on python in TWS API here :
          http://interactivebrokers.github.io/tws-api/#gsc.tab=0

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

            The native Interactive Brokers TWS Python API uses type annotations which is not supported in Python 2.7.

            Maybe something to consider for backtrader 2

            1 Reply Last reply Reply Quote 3
            • R
              remroc last edited by

              Indeed, TWS API is on python 3. What's the roadmap for backtrader 2 ?

              Thanks for your answer...

              Cheers,

              remroc

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

                It has more or less the same timespan as one the best vapoware titles of all times: Duke Nukem Forever

                1 Reply Last reply Reply Quote 0
                • R
                  remroc last edited by

                  lmao aaaah duke nukem :P

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User last edited by

                    maybe implementing the IB API via this high level wrapper could be an alternative: ib_insync. Been using it since a while and am very happy with it.

                    Y 1 Reply Last reply Reply Quote 6
                    • Y
                      Yufeng Xin @Guest last edited by

                      @steffen Is there a quantitative trading platform support the new python3 tws api? I'm looking for something could backtest and trade using Interactive Brokers, just like the BackTrader, but the ibpy is too old to use.

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