- Desktop
- Scripting
- Formulas and Scripting Functions
- Total Return Function - TRET()
Total Return Function - TRET()
Overview
Section titled “Overview”The TRET() function converts the historical prices in to Total Return data (i.e. adjusting prices for dividend or coupon payouts).
Examples
Section titled “Examples”In this example the Show View is using the following formula to show the 12 month Total Return below the 12 month Price Return for IBM:
//Convert data to Total Return;TR1 = TRET(CLOSE());//12 month change of TR data;CHANGE(TR1,INT_COUNT=12, INT_TYPE=Month)
On a price Retrn basis, IBM has gained 15.54% over the last 12 months, but when taking in to account dividend payouts the Total Return has increased to 21.35%.
Your privacy choices
We use cookies and similar technologies to make the site work, see how it's used, and improve it. Analytics and advertising cookies only run with your consent — see our Privacy Policy for details.