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/

    Understanding Codebase of Backtrader and its internal working

    General Discussion
    1
    1
    315
    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.
    • Z
      zlatan last edited by

      I am looking to contribute to backtrader project but having a hard time understanding the code base. The most complicated part is the run() function of Cerebro, which in turn calls runstrategies() which in turn calls a bunch of other functions like _runonce(), _runnext() etc.

      Can anyone give me a high level view of the way run() executes and where does the actual backtest run with datafeed and clue me into how to understand the large code base?

      Will appreciate any help.

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