Navigation

    Backtrader Community

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

    Tristan Co

    @Tristan Co

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

    Tristan Co Unfollow Follow

    Latest posts made by Tristan Co

    • TradeAnalyzer - Calculating average percent gain/loss

      Hey there,

      Currently, the TradeAnalyzer can output the average gain of winning trades and the average loss of losing trades. However, I would like to be able to calculate the average percent gain/loss per these trades.

      To further clarify, instead of seeing "Winning trades average a $100 gain", I'd like to output "Winning trades average a 5% gain".

      Does such an implementation exist or will new code need to be written?

      Thank you!

      posted in Indicators/Strategies/Analyzers
      T
      Tristan Co