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/

    Live running with csv/webhook

    General Code/Help
    2
    2
    95
    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.
    • Tejas Pinge
      Tejas Pinge last edited by

      Is there way to run a backtrader based py file and have live signals processed based on a csv or a webhook?

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

        You can always read a CSV as a data feed and use the value as an indication to trigger something.

        Given the lack of information about the content of the CSV (timestamp or not, for example) it is difficult to judge if that's the best way.

        The same is true for a "webhook". Just like a data feed for Interactive Brokers waits for events to feed the data to the strategy, a data feed could wait for a "webhook".

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