Click here to Login





                                                   % Annual Return per Year

  0

0
Dave W.
2013-07-09 09:26:54


I'd like to create a pivot table / dashboard showing the % annual return per year for a given security (or a watchlist of securities, if possible).
Can you suggest steps how to do this, please? I wasn't able to find too many examples of how to build pivot tables, and didn't completely understand the main one I looked at.

Thank you.



QuantShare
2013-07-09 11:23:00

  0

Best Answer
- Create a new pivot table
- Add a new row then specify your symbols (Add an "Internal List" condition to select securities from a watchlist)
- Add a new column, select "Indicator Limits" tab, type "year()" under "Formula" then set limits (Example: 2010;2011;2012;2013)
- Update the exiting "Values" item, set "Last Value" in "Summarize", set "From x to x" in "Select Dates" then type the following formula under "Formula":
((close / ref(open, barssince(year() != ref(year(), 1)))) - 1) * 100



Dave W.
2013-07-09 22:56:42

  0

Thanks. I created and shared the dashboard / pivot table.


No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Average Output Per Year
Return per Bar Stop - Money Management Strategy
Average Daily Return per Year/Month Table
Average Open-to-Close Return per Day of Week
Year to Date Excess Return

How-to Lessons
How to display the number of notes per stock
How to plot the number of stock tweets per day
How to display the number of stocks per day for different RSI gro...
How to create a Monte Carlo simulation
How to create and trade a Neural Network model

Related Forum Threads
Minium number of trades per year in fitness formula is not workin...
In-Sample return for Walk Forward Analysis?
Simulation by Year
Correlation Matrix by Month, Year
Plotting the closing value one year ago? Two years ago? Three?

Blog Posts
How to Display the Year-to-Date Excess Return in a Pivot Table
Select the best ETFs combination to maximize your return and redu...
Reducing risk and increasing return by combining several trading ...
Trading System: Buy Stocks based on their Sharpe Ratio Rank
Sharpe Ratio - Part 1









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.