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/

    Real-Time feeding with Websocket

    General Code/Help
    4
    6
    1116
    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.
    • G
      GwadaMan last edited by

      Hi EveryBody !!!
      Hi Backtrader !!!
      Does BT is support and compatible with Full real-time feeding provided by websocket ?

      Does somebody have implement something like this ?

      theho Z 2 Replies Last reply Reply Quote 0
      • theho
        theho @GwadaMan last edited by

        @gwadaman Did you managed to find out more? I am looking for the same.

        1 Reply Last reply Reply Quote 0
        • Z
          z_kvn @GwadaMan last edited by

          @gwadaman Did you managed to find out more? I am looking for the same too.

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

            There is nothing preventing a data feed (or broker) from using websockets.

            Receiving from a websocket implies (like for example the IB and Oanda stores do) running in a background thread where the server listening for notifications is active, thread which pumps the data to the queues on which the main thread sits waiting for data.

            Z 1 Reply Last reply Reply Quote 0
            • Z
              z_kvn @backtrader last edited by z_kvn

              Websocket would make backtrader more awesome! And it would be of great help if someone could help provide some working examples.

              Z 1 Reply Last reply Reply Quote 0
              • Z
                z_kvn @z_kvn last edited by z_kvn

                Could be a related post below. Looks like MarketStore supports web socket.

                https://community.backtrader.com/topic/1120/marketstore-new-data-feed-complete-code-example

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
                $(document).ready(function () { app.coldLoad(); }); }