Backtrader Community

    • 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/

    Custom broker/exchange integration

    General Discussion
    3
    2
    77
    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.
    • Suraz Negi
      Suraz Negi last edited by

      Have anyone ever integrated any custom exchange to back trader for live trading?

      I am trying to integrate an exchange to backtrader, I have set of API to place order get ltp data etc. I just need to know the right way to map it into backtrader

      Appreciate any help

      R 1 Reply Last reply Reply Quote 0
      • R
        Reinke @Suraz Negi last edited by

        @Suraz-Negi, not sure if I understand your question correctly. I think you want to connect to a different broker, not exchange. Your broker gives you access to different exchanges.

        In order to connect to a different broker, I would recommend to look at the existing interfaces and copy as much as you can. You would probably need to implement a store, a data feed, and a broker. Most likely you will have to implement a different order class as well, depending on the requirements of your broker.

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