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/

    Can Backtrader do Paper Trading with Live Customized Datafeed?

    General Discussion
    live live data datafeed
    2
    2
    106
    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.
    • lindeng1
      lindeng1 last edited by

      Hi,

      I have been using backtrader to backtest the strategy with customized datafeed. Now I am wondering whether it can do paper trading with customized live data, from sources other than supported IB, Oanda, and Chart.

      What I have:

      • A customized API to retrieve live data in the pandas dataframe where new records are appended to the end of the dataframe every second and get live-updated during market hours. (Dataframe: df1)

      • A strategy tested on historical data

      What I try to achieve:

      • Apply the strategy on df1 to simulate the paper trading in backtrader and log each trade and return

      Any help or insight will be very appreciated.

      run-out 1 Reply Last reply Reply Quote 0
      • run-out
        run-out @lindeng1 last edited by

        @lindeng1 I've not heard of something like this, perhaps others have?

        RunBacktest.com

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