Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PPG & TC2007 Arithmetic elegance Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
montecarlos
Posted : Monday, January 3, 2011 2:06:59 AM

Registered User
Joined: 4/10/2007
Posts: 38


((C12/31/2010 - C'12/31/09') / C'12/31/09') * 100

or in elegant algebraics which merely rearrange and
eliminate a parenthetic: 

100 * (C'12/31/2010' - C'12/31/09') / C'12/31/09'

or this simplicity masterpiece of TC2007 
arithmetic elegance:

100 * (C'12/31/2010' / C'12/31/09' - 1)

All three return the same mathematical
result:

PPG ... price percent gain


Example: SPY CY2010

100.00 * (125.75 / 110.86 - 1)

The PCF returns: 13.4314 representing 13.43%


YTD CY2011, as it unfolds, will be:

((C - C'12/31/10') / C'12/31/10') * 100

or 

100 * ( C / C'12/31/10' - 1)

Note that 12/31/2010 and 12/31/2009 were both 
market open trading days, not weekends or holidays.

May the force
be with us.
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.