0% found this document useful (0 votes)
41 views

Calculating Stock Returns (Applied Python)

Uploaded by

vkvyddr846
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Calculating Stock Returns (Applied Python)

Uploaded by

vkvyddr846
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Calculating Stock

Returns (Applied)

© Copyright 2017 Fervent | All Rights Reserved


Recap: Return of a stock

$%&' + )*+%&' − $% $%&' + )*+%&'


!" = ≡ −1
$% $%

Where:
!" = Return on a stock j
$% = Price of the stock at time t
$%&' = Price of the stock at time t+1
)*+%&' = Dividend paid at time t+1

© Copyright, Fervent | All Rights Reserved


Note on Notations

You can use alternative notations, as long


as you’re consistent.

$%&' + )*+%&' $% + )*+%


!" = −1≡ −1
$% $%/'

© Copyright, Fervent | All Rights Reserved


Calculating Returns
Python Walkthrough

© Copyright, Fervent | All Rights Reserved


Calculating Returns on Python

© Copyright, Fervent | All Rights Reserved


Returns vs. Expected Returns

When we invest in stocks, we base our


decision on the expected return instead of
the realised return.

© Copyright, Fervent | All Rights Reserved


Returns vs. Expected Returns

In other words, we base it on what we


expect the stock will earn us in the future.

© Copyright, Fervent | All Rights Reserved


Expected Return

We can estimate the expected return by...


ü Using the stock’s historic average return.
ü Using state-contingent weighted probabilities.
ü Using Asset Pricing Models (e.g. CAPM)

© Copyright, Fervent | All Rights Reserved


Over the next few videos, we’ll learn how
to estimate expected returns using all 3
approaches.

© Copyright, Fervent | All Rights Reserved


Summary

We can calculate returns on Python using:


§ df[‘returns’] = df[‘price’] / df[‘price’].shift(1) – 1
§ df[‘returns’] = df[‘price’].pct_change(1)

While prices may appear “predictable”, they’re not since returns follow
a ‘random walk’.

Importantly, we base our investment decisions on expected returns,


not returns.

© Copyright, Fervent | All Rights Reserved


Now have a go
at the quiz!

© Copyright, Fervent | All Rights Reserved

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy