Backtrader Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. lindeng1
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    lindeng1

    @lindeng1

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    lindeng1 Unfollow Follow

    Latest posts made by lindeng1

    • Can Backtrader do Paper Trading with Live Customized Datafeed?

      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.

      posted in General Discussion live live data datafeed
      lindeng1
      lindeng1