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/

    broker cash and value on separate scales in the plot

    Indicators/Strategies/Analyzers
    2
    2
    882
    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.
    • D
      dongiulio last edited by

      Hello,

      When plotting the results of a backtest the broker cash and value in the top portion are on the same scale. like in the screenshotbroker cash and value

      With forex broker cash varies on a way greater scale than the value, so the value is usually shown as a semi flat line, making it difficult to appreciate its variations, I think it would be nice to have the two lines on separate scales, so that both can be appreciated visually.

      What do you think?

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

        You can always separate them. Use

        • stdstats=False in cerebro Docs - Cerebro

        And add the observers your like. There are separate observers for Broker and Value.

        • Docs - Observers and Statistics
        • Docs - Observer Reference
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors