#twitter-follow { border: 0;position: fixed; top: 240px; left:0;} #live-support { border: 0;position: fixed; top: 370px; left:0;} #knowledge-base { border: 0;position: fixed; top: 170px; left:0;}

## Average Growth Rate

by QuantShare, 4216 days ago

This metric is calculated in two steps:
- For each symbol, position returns are transformed then multiplied. The resulting value is the growth rate of the strategy equity for a particular symbol.
- The growth rates (for each symbol) are averaged.

The first step calculates the trading rule real performance for each symbol.
Example:
Stock A:
On bar 10: Output = 12% -> Transformation: (1 + (12/100)) = 1 + 0.12 = 1.12
On bar 18: Output = -10%
On bar 30: Output = 5%
The growth rate is: '(1.12 * 0.9 * 1.05) = 1.0584', which means that if we invest 100\$ in a security at the simulation start period, we will end up with (100\$ * 1.0584 = 105.84\$)

The second step averages the growth rates that are calculated for each symbol.
Example:
Stock A -> Growth rate: 5.84%
Stock B -> Growth rate: 20%
Stock C -> Growth rate: 12%
The metric return value is: '(5.84 + 20 + 12) / 3 = 12.61%'.

NB: Symbols that have less than 10 positions are rejected.
You can update this threshold (set by default to 10) by updating the variable 'minposition'.

What is this?

 Type: Rule Metrics Object ID: 191 Country: All Market: All Style: Technical Analysis

 Related objects Empty
Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

 Random Blog Posts How to speed up quotes and news downloads The 'inside period' function How to use date components in your trading rules Quantshare version 1.4 Programming skills are not that important Looking for trading ideas A vector-based language QuantShare - review by the Stock Trading Software Reviews Show All

Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object