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/

    How to run multi-data multi-strategy on Oanda live feed

    General Code/Help
    2
    2
    397
    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.
    • monil shah 0
      monil shah 0 last edited by

      I need an idea to run multi-data multi-strategy on Oanda. Problem I am facing is that every broker provides only one websocket to individual account therefore I can not run multiple-script at a time. Does anyone has any suggestion?

      Thanks

      1 Reply Last reply Reply Quote 0
      • vladisld
        vladisld last edited by

        I'm live trading multi-data multi-strategy setup using IBBroker. A simple way of implementing it is to just add multiple data feeds and multiple strategies to the same cerebro instance and have a way to associate each strategy with the appropriate data feed. One way of doing this is to pass the appropriate data index to the strategy as a parameter.

        There were some IB specific problems though that needed to be addressed (see my previous post on this https://community.backtrader.com/topic/2122/live-trading-multiple-strategies-each-one-on-a-separate-data-feed) - don't know if Oanda broker have similar problems - but otherwise it is working pretty well.

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