For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Live running with csv/webhook

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

  • administrators

    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".

Log in to reply