This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
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.
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.
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'.