SlideShare uma empresa Scribd logo
1 de 70
Baixar para ler offline
Random Walks,
Efficient Markets &
Stock Prices


Luigi Cenatti Gianni
NEO Empresarial
Why is it so hard
   to BEAT THE MARKET?
What should be the STRATEGY
        of a SMALL INVESTOR?
How to forecast
the RISK and RETURN of an asset?
Table of Contents
»   Random Walks

»   Efficient Market Hypothesis

»   Playing with Wolfram Mathematica
Table of Contents
»   Random Walks
    Efficient Market Hypothesis
    Playing with Wolfram Mathematica
What makes a process random?
       1. Sequence of random variables
       2. independent from each other
       3. and determined by a distribution
f(t)
                                             outcome




                                                 time
Heads or tails?
  Flip a coin 10 times
  If heads, +1
  If tails, -1
Heads or tails?
       Is this a random process?
F(t)



                                        t

                                   -2
Heads or tails?
       What’s the expected outcome?
F(t)



                                      t

                              -2
Heads or tails?
  What’s the expected outcome?
  We have a feeling that, if we play it
  many times, in most of them we will
  end up with 0
Heads or tails?
  What’s the expected outcome?
  We have a feeling that, if we play it
  many times, in most of them we will
  end up with 0

  And we’re right
Heads or tails?
  But what if the distribution looks like this?
Heads or tails?
  But what if the distribution looks like this?

  What is the expected outcome?
Heads or tails?
  If we know the distribution, we can
  simulate the process
Heads or tails?
  If we know the distribution, we can
  simulate the process
Heads or tails?
  If we know the distribution, we can
  simulate the process
Heads or tails?
  This is commonly referred to as a
  Monte Carlo Simulation
Table of Contents
    Random Walks

»   Efficient Market Hypothesis
    Playing with Wolfram Mathematica
Efficient Markets
  Prices reflect all relevant information
Efficient Markets
  Prices reflect all relevant information
  If information is immediately reflected on
  stock prices, tomorrow’s price change will
  reflect only tomorrow’s news
Efficient Markets
  Prices reflect all relevant information
  If information is immediately reflected on
  stock prices, tomorrow’s price change will
  reflect only tomorrow’s news

  Tomorrow’s price change is independent
  of the price changes today
Efficient Markets
  The Efficient Market hypothesis is
  associated with the idea of a “random
  walk”
Efficient Markets
  The Efficient Market hypothesis is
  associated with the idea of a “random
  walk”
  Therefore, it’s impossible to consistently
  beat the market
Efficient Markets
  Private investment funds can’t beat the
  market




  Source: Varga, G., Índice de Sharpe e outros indicadores de performance aplicados a fundos de ações brasileiros
Efficient Markets
  Private investment funds can’t beat the
  market




  Source: Varga, G., Índice de Sharpe e outros indicadores de performance aplicados a fundos de ações brasileiros
Efficient Markets
  According to Bloomberg:

  BOVA11 beat 60% of active funds and
  100% of passive funds, prior to 2009
Efficient Markets
  According to Bloomberg:

  BOVA11 beat 60% of active funds and
  100% of passive funds, prior to 2009

  With lower volatility (risk) than 78% of
  active funds and 100% of passive
Non-Efficient Markets?
  Behavioral Finances: imperfections in financial
  markets due to overconfidence, overreaction, and
  other biases
Non-Efficient Markets?
  Behavioral Finances: imperfections in financial
  markets due to overconfidence, overreaction, and
  other biases

  Economic Bubbles
Non-Efficient Markets?
  Behavioral Finances: imperfections in financial
  markets due to overconfidence, overreaction, and
  other biases

  Economic Bubbles

  Markets are efficient for small investors
Table of Contents
    Random Walks
    Efficient Market Hypothesis

»   Playing with Wolfram Mathematica
Problem
 Today is January 1st, 2011. We want to
 figure out the price of GOOG in one year


                                     $ 593.97
Assumptions
 1. Markets are efficient, so daily returns
 are random variables, independent from
 each other
 2. Daily returns follow a determined
 probability distribution
Framework
 1. Fit a distribution to past returns
Framework
 1. Fit a distribution to past returns
 2. Simulate n random walks
Framework
 1. Fit a distribution to past returns
 2. Simulate n random walks
 3. Price of stock will be mean of
 outcomes
Fitting data to a distribution
𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔
= 𝐅𝐢𝐧𝐚𝐧𝐜𝐢𝐚𝐥𝐃𝐚𝐭𝐚["𝐆𝐎𝐎𝐆", "𝐑𝐞𝐭𝐮𝐫𝐧",       𝟐𝟎𝟎𝟔, 𝟏, 𝟏 , 𝟐𝟎𝟏𝟏, 𝟏, 𝟏 , "𝐕𝐚𝐥𝐮𝐞" ;

{0.0229993, 0.0134759, 0.0319564, 0.00266289, 0.00612551,
0.00398076, -0.0169624, 0.00565106, 0.0018445, -0.0475263,
-0.0190151, -0.084752, 0.0701948, 0.0363275, -0.0226396, ...
Fitting data to a distribution
𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔
= 𝐅𝐢𝐧𝐚𝐧𝐜𝐢𝐚𝐥𝐃𝐚𝐭𝐚["𝐆𝐎𝐎𝐆", "𝐑𝐞𝐭𝐮𝐫𝐧",       𝟐𝟎𝟎𝟔, 𝟏, 𝟏 , 𝟐𝟎𝟏𝟏, 𝟏, 𝟏 , "𝐕𝐚𝐥𝐮𝐞" ;

{0.0229993, 0.0134759, 0.0319564, 0.00266289, 0.00612551,
0.00398076, -0.0169624, 0.00565106, 0.0018445, -0.0475263,
-0.0190151, -0.084752, 0.0701948, 0.0363275, -0.0226396, ...


𝐆𝐎𝐎𝐆𝐃𝐢𝐬𝐭
= 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐍𝐨𝐫𝐦𝐚𝐥𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝝁, 𝝈

NormalDistribution[0.0005029, 0.0227045
Fitting data to a distribution
  Is the normal distribution a good fit?
Fitting data to a distribution
   Is the normal distribution a good fit?
 𝓗 = DistributionFitTest[GOOGRet2006, GOOGDist, "HypothesisTestData"]
Fitting data to a distribution
  Problem of “fat tails”
Fitting data to a distribution
  The stable distribution allows us to solve
  this problem, because of two additional
  parameters (alpha & beta)
Fitting data to a distribution
 𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭
 = 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐒𝐭𝐚𝐛𝐥𝐞𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝟏, 𝛂, 𝛃, 𝛍, 𝛔

 StableDistribution[1, 1.5313, −0.0097, 0.0004, 0.0110
Fitting data to a distribution
 𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭
 = 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐒𝐭𝐚𝐛𝐥𝐞𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝟏, 𝛂, 𝛃, 𝛍, 𝛔

 StableDistribution[1, 1.5313, −0.0097, 0.0004, 0.0110

 𝓗 = DistributionFitTest[GOOGRet2006, GOOGStbDist, "HypothesisTestData"]
Fitting data to a distribution
  The stable distribution is a better fit.
Simulating future prices
 𝐬𝐢𝐦𝐑𝐞𝐭𝐬 = 𝐑𝐚𝐧𝐝𝐨𝐦𝐕𝐚𝐫𝐢𝐚𝐭𝐞[𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭, 𝟐𝟓𝟎 ;

 𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 = 𝐆𝐎𝐎𝐆𝐏𝐫𝐢𝐜𝐞𝟐𝟎𝟎𝟔⟦−𝟏 ;
Simulating future prices
 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 1 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 𝑟 𝑡1

 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 2 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 (𝑟 𝑡1 +𝑟 𝑡2)
Simulating future prices
 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 1 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 𝑟 𝑡1

 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 2 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 (𝑟 𝑡1 +𝑟 𝑡2)

 𝐋𝐢𝐬𝐭𝐋𝐢𝐧𝐞𝐏𝐥𝐨𝐭[𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 ∗ 𝐄𝐱𝐩[𝐀𝐜𝐜𝐮𝐦𝐮𝐥𝐚𝐭𝐞[𝐬𝐢𝐦𝐑𝐞𝐭𝐬
Simulating future prices
     𝐦𝐞𝐚𝐧𝐆𝐎𝐎𝐆𝐏𝐫𝐢𝐜𝐞 =

     𝐌𝐞𝐚𝐧[

     𝐌𝐞𝐚𝐧[

 𝐏𝐫𝐞𝐩𝐞𝐧𝐝[

     𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 ∗ 𝐄𝐱𝐩[𝐀𝐜𝐜𝐮𝐦𝐮𝐥𝐚𝐭𝐞[𝐑𝐚𝐧𝐝𝐨𝐦𝐕𝐚𝐫𝐢𝐚𝐭𝐞[𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭, 𝟐𝟓𝟎, 𝟓𝟎
                        , 𝐂𝐨𝐧𝐬𝐭𝐚𝐧𝐭𝐀𝐫𝐫𝐚𝐲[𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞, 𝟓𝟎
             ]
          ]
 ]
Simulating future prices
  The price of GOOG will be the mean of
  the means of each random walk
How close were we?
 GOOG traded at $ 645.90 on
 December 30, 2011
An idea of risk & return
  www.wolframalpha.com
An idea of risk & return
An idea of risk & return
  GOOG traded at $ 727.44 on
  September 20, 2012
An idea of risk & return
  GOOG traded at $ 727.44 on
  September 20, 2012

  In one year, there’s a 95% chance its
  price is going to be between $ 454.11
  and $ 1294.98
An idea of risk & return
  Would you buy it today?
Why is it so hard
   to BEAT THE MARKET?
What should be the STRATEGY
        of a SMALL INVESTOR?
How to forecast
the RISK and RETURN of an asset?
Luigi Cenatti Gianni
lcgianni@gmail.com
br.linkedin.com/in/luigigianni
References
   Random Walks and Finance:
http://sas.uwaterloo.ca/~dlmcleis/s906/chapt1-6.pdf
http://www.norstad.org/finance/ranwalk.pdf


   Random Walks and Efficient Markets:
http://www.duke.edu/~rnau/411georw.htm
http://www.amazon.com/Random-Walk-Down-Wall-Street/dp/0393325350


   Wolfram Mathematica:
http://reference.wolfram.com/mathematica/howto/PerformAMonteCarloSimulation.html
References
   Online classes on Finance:
https://www.coursera.org/course/compfinance
https://www.coursera.org/course/introfinance


   Others:
http://www.scientificamerican.com/article.cfm?id=can-math-beat-financial-markets
http://www.scientificamerican.com/article.cfm?id=after-the-crash
http://www.scientificamerican.com/article.cfm?id=trends-in-economics-a-calculus-of-risk
References
   Quick readings on Wikipedia:
http://en.wikipedia.org/wiki/Monte_Carlo_methods_for_option_pricing
http://en.wikipedia.org/wiki/Black%E2%80%93Scholes
http://en.wikipedia.org/wiki/Geometric_Brownian_motion
http://en.wikipedia.org/wiki/Random_walk
http://en.wikipedia.org/wiki/Exchange-traded_fund
References
   In Portuguese:
http://br.ishares.com/content/stream.jsp?url=/content/br/pt/repository/material/5-Min-
Guide_PT.pdf&mimeType=application/pdf
http://www.scielo.br/pdf/rac/v5n3/v5n3a11.pdf
http://www.lume.ufrgs.br/bitstream/handle/10183/29661/000769163.pdf?sequence=1
Images
http://www.thedigeratilife.com/images/january_effect_graph.png
http://forexachievers.com/wp-content/uploads/2010/09/beh.jpg
http://stockcharts.com/freecharts/historical/images/SPX1960s.png
http://204.143.68.15/file.php/400/quarter.jpg
http://www.wolframalpha.com/
http://stockcharts.com/school/data/media/chart_school/overview/random_walk_theory/
rw-5-fattails.png
http://blog.wolfram.com/data/uploads/2010/11/m8-logo.jpg
http://zoonek2.free.fr/UNIX/48_R/g606.png

Mais conteúdo relacionado

Mais procurados

Risk measurement & efficient market hypothesis
Risk measurement & efficient market hypothesisRisk measurement & efficient market hypothesis
Risk measurement & efficient market hypothesisJatin Pancholi
 
Efficient market hypothesis
Efficient market hypothesisEfficient market hypothesis
Efficient market hypothesisPawan Kawan
 
Efficient Market Hypothesis and stock market efficiency
Efficient Market Hypothesis and stock market efficiencyEfficient Market Hypothesis and stock market efficiency
Efficient Market Hypothesis and stock market efficiencyFilippo Pietrantonio
 
Efficient capital markets
Efficient capital marketsEfficient capital markets
Efficient capital marketsOnline
 
Market efficiency presentation
Market efficiency presentationMarket efficiency presentation
Market efficiency presentationMohammed Alashi
 
Effcient market hypothesis
Effcient market hypothesisEffcient market hypothesis
Effcient market hypothesisGopi Adhikari
 
Chp 11 efficient market hypothesis by mahmudul
Chp 11 efficient market hypothesis by mahmudulChp 11 efficient market hypothesis by mahmudul
Chp 11 efficient market hypothesis by mahmudulMahmudul Hassan
 
Efficient market hypothesis
Efficient market hypothesisEfficient market hypothesis
Efficient market hypothesisKamlesh Pawar
 
Market efficiency and emh
Market efficiency and emhMarket efficiency and emh
Market efficiency and emhKashif Hussain
 
Efficient Market Hypothesis (EMH)
Efficient Market Hypothesis (EMH)Efficient Market Hypothesis (EMH)
Efficient Market Hypothesis (EMH)Faheem Hasan
 
: Security and Portfolio Analysis :Efficient market theory
: Security and Portfolio Analysis :Efficient market theory: Security and Portfolio Analysis :Efficient market theory
: Security and Portfolio Analysis :Efficient market theoryRahulKaushik108
 
Efficient Market Hypothesis (EMH) and Insider Trading
Efficient Market Hypothesis (EMH) and Insider TradingEfficient Market Hypothesis (EMH) and Insider Trading
Efficient Market Hypothesis (EMH) and Insider TradingPrashant Shrestha
 
Portfolio management sessions 4&5 (1)
Portfolio management sessions 4&5 (1)Portfolio management sessions 4&5 (1)
Portfolio management sessions 4&5 (1)Aakash Kulkarni
 
Effeciency market hypothesis
Effeciency market hypothesisEffeciency market hypothesis
Effeciency market hypothesisAbdulkadir Tifow
 

Mais procurados (20)

Risk measurement & efficient market hypothesis
Risk measurement & efficient market hypothesisRisk measurement & efficient market hypothesis
Risk measurement & efficient market hypothesis
 
Efficient market hypothesis
Efficient market hypothesisEfficient market hypothesis
Efficient market hypothesis
 
Efficient Market Hypothesis and stock market efficiency
Efficient Market Hypothesis and stock market efficiencyEfficient Market Hypothesis and stock market efficiency
Efficient Market Hypothesis and stock market efficiency
 
Efficient capital markets
Efficient capital marketsEfficient capital markets
Efficient capital markets
 
Efficient Market Hypothesis
Efficient Market HypothesisEfficient Market Hypothesis
Efficient Market Hypothesis
 
Market efficiency presentation
Market efficiency presentationMarket efficiency presentation
Market efficiency presentation
 
Effcient market hypothesis
Effcient market hypothesisEffcient market hypothesis
Effcient market hypothesis
 
Chp 11 efficient market hypothesis by mahmudul
Chp 11 efficient market hypothesis by mahmudulChp 11 efficient market hypothesis by mahmudul
Chp 11 efficient market hypothesis by mahmudul
 
Efficient market hypothesis
Efficient market hypothesisEfficient market hypothesis
Efficient market hypothesis
 
Market efficiency
Market efficiencyMarket efficiency
Market efficiency
 
Efficient Market Hypothesis
Efficient Market HypothesisEfficient Market Hypothesis
Efficient Market Hypothesis
 
Emh lec#3
Emh lec#3Emh lec#3
Emh lec#3
 
Market efficiency and emh
Market efficiency and emhMarket efficiency and emh
Market efficiency and emh
 
Efficient Market Hypothesis (EMH)
Efficient Market Hypothesis (EMH)Efficient Market Hypothesis (EMH)
Efficient Market Hypothesis (EMH)
 
: Security and Portfolio Analysis :Efficient market theory
: Security and Portfolio Analysis :Efficient market theory: Security and Portfolio Analysis :Efficient market theory
: Security and Portfolio Analysis :Efficient market theory
 
Random walk theory
Random walk theoryRandom walk theory
Random walk theory
 
Efficient Market Hypothesis (EMH) and Insider Trading
Efficient Market Hypothesis (EMH) and Insider TradingEfficient Market Hypothesis (EMH) and Insider Trading
Efficient Market Hypothesis (EMH) and Insider Trading
 
Portfolio management sessions 4&5 (1)
Portfolio management sessions 4&5 (1)Portfolio management sessions 4&5 (1)
Portfolio management sessions 4&5 (1)
 
Effeciency market hypothesis
Effeciency market hypothesisEffeciency market hypothesis
Effeciency market hypothesis
 
Statistical Arbitrage
Statistical Arbitrage Statistical Arbitrage
Statistical Arbitrage
 

Destaque

Random Walk Theory- Investment
Random Walk Theory- InvestmentRandom Walk Theory- Investment
Random Walk Theory- InvestmentSaranya karthick
 
Como se preparar para o Processo Seletivo do NEO?
Como se preparar para o Processo Seletivo do NEO?Como se preparar para o Processo Seletivo do NEO?
Como se preparar para o Processo Seletivo do NEO?NEO Empresarial
 
A cultura do NEO Empresarial
A cultura do NEO EmpresarialA cultura do NEO Empresarial
A cultura do NEO EmpresarialNEO Empresarial
 
corporate finance and market efficiency
corporate finance and market efficiencycorporate finance and market efficiency
corporate finance and market efficiencygeet232
 
Brasil - Do subdesenvolvimento ao país dos seus sonhos
Brasil - Do subdesenvolvimento ao país dos seus sonhosBrasil - Do subdesenvolvimento ao país dos seus sonhos
Brasil - Do subdesenvolvimento ao país dos seus sonhosNEO Empresarial
 
options and their valuation
options and their valuationoptions and their valuation
options and their valuationPANKAJ PANDEY
 
Saúde - Manifestações 2013
Saúde - Manifestações 2013Saúde - Manifestações 2013
Saúde - Manifestações 2013Eni Bertolini
 
Adrs and gdrs ppt
Adrs and gdrs pptAdrs and gdrs ppt
Adrs and gdrs pptKaushal_123
 
Caminhos da saude publica no brasil
Caminhos da saude publica no brasilCaminhos da saude publica no brasil
Caminhos da saude publica no brasilEdlene Ribeiro
 
Equity Valuation
Equity ValuationEquity Valuation
Equity ValuationKushal Jain
 

Destaque (20)

Random walk theory
Random walk theoryRandom walk theory
Random walk theory
 
Random Walk Theory- Investment
Random Walk Theory- InvestmentRandom Walk Theory- Investment
Random Walk Theory- Investment
 
Random walk on Graphs
Random walk on GraphsRandom walk on Graphs
Random walk on Graphs
 
Random Walk Theory
Random Walk Theory Random Walk Theory
Random Walk Theory
 
Ch10 final
Ch10 finalCh10 final
Ch10 final
 
Como se preparar para o Processo Seletivo do NEO?
Como se preparar para o Processo Seletivo do NEO?Como se preparar para o Processo Seletivo do NEO?
Como se preparar para o Processo Seletivo do NEO?
 
A cultura do NEO Empresarial
A cultura do NEO EmpresarialA cultura do NEO Empresarial
A cultura do NEO Empresarial
 
QF-CUTN-FINAL
QF-CUTN-FINALQF-CUTN-FINAL
QF-CUTN-FINAL
 
corporate finance and market efficiency
corporate finance and market efficiencycorporate finance and market efficiency
corporate finance and market efficiency
 
Brasil - Do subdesenvolvimento ao país dos seus sonhos
Brasil - Do subdesenvolvimento ao país dos seus sonhosBrasil - Do subdesenvolvimento ao país dos seus sonhos
Brasil - Do subdesenvolvimento ao país dos seus sonhos
 
options and their valuation
options and their valuationoptions and their valuation
options and their valuation
 
The World of FCCBs
The World of FCCBsThe World of FCCBs
The World of FCCBs
 
Fccb hitu
Fccb hituFccb hitu
Fccb hitu
 
Saúde - Manifestações 2013
Saúde - Manifestações 2013Saúde - Manifestações 2013
Saúde - Manifestações 2013
 
Adrs and gdrs ppt
Adrs and gdrs pptAdrs and gdrs ppt
Adrs and gdrs ppt
 
ECB & FCCB
ECB & FCCBECB & FCCB
ECB & FCCB
 
Fccb
FccbFccb
Fccb
 
Caminhos da saude publica no brasil
Caminhos da saude publica no brasilCaminhos da saude publica no brasil
Caminhos da saude publica no brasil
 
Portfolio Analysis
Portfolio AnalysisPortfolio Analysis
Portfolio Analysis
 
Equity Valuation
Equity ValuationEquity Valuation
Equity Valuation
 

Semelhante a Random Walks, Efficient Markets & Stock Prices

Successful Investing Strategy
Successful Investing StrategySuccessful Investing Strategy
Successful Investing StrategyYodhia Antariksa
 
Science in the City 2022 Prof J Jamesv[2022]
Science in the City 2022 Prof J Jamesv[2022]Science in the City 2022 Prof J Jamesv[2022]
Science in the City 2022 Prof J Jamesv[2022]ikhmalsyuqkinbinisma
 
Guide to Financial Trading to Betonmarkets.com
Guide to Financial Trading to Betonmarkets.comGuide to Financial Trading to Betonmarkets.com
Guide to Financial Trading to Betonmarkets.comOxygenfox Pay
 
Betting Markets and Financial Trading
Betting Markets and Financial TradingBetting Markets and Financial Trading
Betting Markets and Financial Tradingfinancialtrading
 
Make your own luck
Make your own luckMake your own luck
Make your own luckZiya-B
 
Financial Forecasting For WordPress Businesses
Financial Forecasting For WordPress BusinessesFinancial Forecasting For WordPress Businesses
Financial Forecasting For WordPress BusinessesCaldera Labs
 
D&R lecture 1.pptx
D&R lecture 1.pptxD&R lecture 1.pptx
D&R lecture 1.pptxAliAbdulla63
 
All About Factors & Smart Beta
All About Factors & Smart BetaAll About Factors & Smart Beta
All About Factors & Smart BetaCorey Hoffstein
 
Local and Stochastic volatility
Local and Stochastic volatilityLocal and Stochastic volatility
Local and Stochastic volatilitySwati Mital
 
Exploring the boundaries of predictability
Exploring the boundaries of predictabilityExploring the boundaries of predictability
Exploring the boundaries of predictabilityRob Hyndman
 
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -Takanobu Mizuta
 
Next Generation Investment Platform
Next Generation Investment PlatformNext Generation Investment Platform
Next Generation Investment Platformcouch58cistemf
 
Investing with Accurate Financial Solutions
Investing with Accurate Financial SolutionsInvesting with Accurate Financial Solutions
Investing with Accurate Financial SolutionsSteve Rodman
 

Semelhante a Random Walks, Efficient Markets & Stock Prices (20)

2017 09 17 Meetup Slides
2017 09 17 Meetup Slides2017 09 17 Meetup Slides
2017 09 17 Meetup Slides
 
Successful Investing Strategy
Successful Investing StrategySuccessful Investing Strategy
Successful Investing Strategy
 
Science in the City 2022 Prof J Jamesv[2022]
Science in the City 2022 Prof J Jamesv[2022]Science in the City 2022 Prof J Jamesv[2022]
Science in the City 2022 Prof J Jamesv[2022]
 
Guide to Financial Trading to Betonmarkets.com
Guide to Financial Trading to Betonmarkets.comGuide to Financial Trading to Betonmarkets.com
Guide to Financial Trading to Betonmarkets.com
 
Betting Markets and Financial Trading
Betting Markets and Financial TradingBetting Markets and Financial Trading
Betting Markets and Financial Trading
 
Make your own luck
Make your own luckMake your own luck
Make your own luck
 
Financial Forecasting For WordPress Businesses
Financial Forecasting For WordPress BusinessesFinancial Forecasting For WordPress Businesses
Financial Forecasting For WordPress Businesses
 
D&R lecture 1.pptx
D&R lecture 1.pptxD&R lecture 1.pptx
D&R lecture 1.pptx
 
Lf 2020 rates_i
Lf 2020 rates_iLf 2020 rates_i
Lf 2020 rates_i
 
Nse
NseNse
Nse
 
Nse
NseNse
Nse
 
All About Factors & Smart Beta
All About Factors & Smart BetaAll About Factors & Smart Beta
All About Factors & Smart Beta
 
Local and Stochastic volatility
Local and Stochastic volatilityLocal and Stochastic volatility
Local and Stochastic volatility
 
Exploring the boundaries of predictability
Exploring the boundaries of predictabilityExploring the boundaries of predictability
Exploring the boundaries of predictability
 
2017 09 24 Meetup Slides
2017 09 24 Meetup Slides2017 09 24 Meetup Slides
2017 09 24 Meetup Slides
 
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
 
Cifer2017
Cifer2017Cifer2017
Cifer2017
 
Next Generation Investment Platform
Next Generation Investment PlatformNext Generation Investment Platform
Next Generation Investment Platform
 
2017 07 30 Meetup Slides
2017 07 30 Meetup Slides 2017 07 30 Meetup Slides
2017 07 30 Meetup Slides
 
Investing with Accurate Financial Solutions
Investing with Accurate Financial SolutionsInvesting with Accurate Financial Solutions
Investing with Accurate Financial Solutions
 

Mais de NEO Empresarial

Sharing Economy & UBER - Economia Compartilhada
Sharing Economy & UBER - Economia CompartilhadaSharing Economy & UBER - Economia Compartilhada
Sharing Economy & UBER - Economia CompartilhadaNEO Empresarial
 
Inteligência Artificial
Inteligência ArtificialInteligência Artificial
Inteligência ArtificialNEO Empresarial
 
A neurociência do aprendizado
A neurociência do aprendizadoA neurociência do aprendizado
A neurociência do aprendizadoNEO Empresarial
 
Avaliação de Políticas Sociais
Avaliação de Políticas SociaisAvaliação de Políticas Sociais
Avaliação de Políticas SociaisNEO Empresarial
 
UNIX - História e filosofia
UNIX - História e filosofiaUNIX - História e filosofia
UNIX - História e filosofiaNEO Empresarial
 

Mais de NEO Empresarial (8)

Sharing Economy & UBER - Economia Compartilhada
Sharing Economy & UBER - Economia CompartilhadaSharing Economy & UBER - Economia Compartilhada
Sharing Economy & UBER - Economia Compartilhada
 
Inteligência Artificial
Inteligência ArtificialInteligência Artificial
Inteligência Artificial
 
A neurociência do aprendizado
A neurociência do aprendizadoA neurociência do aprendizado
A neurociência do aprendizado
 
Game industry
Game industryGame industry
Game industry
 
Design Thinking
Design ThinkingDesign Thinking
Design Thinking
 
Avaliação de Políticas Sociais
Avaliação de Políticas SociaisAvaliação de Políticas Sociais
Avaliação de Políticas Sociais
 
Concentradores solares
Concentradores solares Concentradores solares
Concentradores solares
 
UNIX - História e filosofia
UNIX - História e filosofiaUNIX - História e filosofia
UNIX - História e filosofia
 

Último

VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...dipikadinghjn ( Why You Choose Us? ) Escorts
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual serviceanilsa9823
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...dipikadinghjn ( Why You Choose Us? ) Escorts
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdfAdnet Communications
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
The Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfThe Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfGale Pooley
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
The Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfThe Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfGale Pooley
 
The Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdfThe Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdfGale Pooley
 
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...dipikadinghjn ( Why You Choose Us? ) Escorts
 
Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.Vinodha Devi
 
03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptxFinTech Belgium
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...dipikadinghjn ( Why You Choose Us? ) Escorts
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfGale Pooley
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfMichael Silva
 
The Economic History of the U.S. Lecture 26.pdf
The Economic History of the U.S. Lecture 26.pdfThe Economic History of the U.S. Lecture 26.pdf
The Economic History of the U.S. Lecture 26.pdfGale Pooley
 

Último (20)

(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best sexual service
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
 
The Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfThe Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdf
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
 
The Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfThe Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdf
 
The Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdfThe Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdf
 
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
 
Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.
 
03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdf
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdf
 
The Economic History of the U.S. Lecture 26.pdf
The Economic History of the U.S. Lecture 26.pdfThe Economic History of the U.S. Lecture 26.pdf
The Economic History of the U.S. Lecture 26.pdf
 

Random Walks, Efficient Markets & Stock Prices

  • 1. Random Walks, Efficient Markets & Stock Prices Luigi Cenatti Gianni NEO Empresarial
  • 2. Why is it so hard to BEAT THE MARKET?
  • 3. What should be the STRATEGY of a SMALL INVESTOR?
  • 4. How to forecast the RISK and RETURN of an asset?
  • 5. Table of Contents » Random Walks » Efficient Market Hypothesis » Playing with Wolfram Mathematica
  • 6. Table of Contents » Random Walks Efficient Market Hypothesis Playing with Wolfram Mathematica
  • 7. What makes a process random? 1. Sequence of random variables 2. independent from each other 3. and determined by a distribution f(t) outcome time
  • 8. Heads or tails? Flip a coin 10 times If heads, +1 If tails, -1
  • 9. Heads or tails? Is this a random process? F(t) t -2
  • 10. Heads or tails? What’s the expected outcome? F(t) t -2
  • 11. Heads or tails? What’s the expected outcome? We have a feeling that, if we play it many times, in most of them we will end up with 0
  • 12. Heads or tails? What’s the expected outcome? We have a feeling that, if we play it many times, in most of them we will end up with 0 And we’re right
  • 13. Heads or tails? But what if the distribution looks like this?
  • 14. Heads or tails? But what if the distribution looks like this? What is the expected outcome?
  • 15. Heads or tails? If we know the distribution, we can simulate the process
  • 16. Heads or tails? If we know the distribution, we can simulate the process
  • 17. Heads or tails? If we know the distribution, we can simulate the process
  • 18. Heads or tails? This is commonly referred to as a Monte Carlo Simulation
  • 19. Table of Contents Random Walks » Efficient Market Hypothesis Playing with Wolfram Mathematica
  • 20. Efficient Markets Prices reflect all relevant information
  • 21. Efficient Markets Prices reflect all relevant information If information is immediately reflected on stock prices, tomorrow’s price change will reflect only tomorrow’s news
  • 22. Efficient Markets Prices reflect all relevant information If information is immediately reflected on stock prices, tomorrow’s price change will reflect only tomorrow’s news Tomorrow’s price change is independent of the price changes today
  • 23. Efficient Markets The Efficient Market hypothesis is associated with the idea of a “random walk”
  • 24. Efficient Markets The Efficient Market hypothesis is associated with the idea of a “random walk” Therefore, it’s impossible to consistently beat the market
  • 25. Efficient Markets Private investment funds can’t beat the market Source: Varga, G., Índice de Sharpe e outros indicadores de performance aplicados a fundos de ações brasileiros
  • 26. Efficient Markets Private investment funds can’t beat the market Source: Varga, G., Índice de Sharpe e outros indicadores de performance aplicados a fundos de ações brasileiros
  • 27. Efficient Markets According to Bloomberg: BOVA11 beat 60% of active funds and 100% of passive funds, prior to 2009
  • 28. Efficient Markets According to Bloomberg: BOVA11 beat 60% of active funds and 100% of passive funds, prior to 2009 With lower volatility (risk) than 78% of active funds and 100% of passive
  • 29. Non-Efficient Markets? Behavioral Finances: imperfections in financial markets due to overconfidence, overreaction, and other biases
  • 30. Non-Efficient Markets? Behavioral Finances: imperfections in financial markets due to overconfidence, overreaction, and other biases Economic Bubbles
  • 31. Non-Efficient Markets? Behavioral Finances: imperfections in financial markets due to overconfidence, overreaction, and other biases Economic Bubbles Markets are efficient for small investors
  • 32. Table of Contents Random Walks Efficient Market Hypothesis » Playing with Wolfram Mathematica
  • 33. Problem Today is January 1st, 2011. We want to figure out the price of GOOG in one year $ 593.97
  • 34. Assumptions 1. Markets are efficient, so daily returns are random variables, independent from each other 2. Daily returns follow a determined probability distribution
  • 35. Framework 1. Fit a distribution to past returns
  • 36. Framework 1. Fit a distribution to past returns 2. Simulate n random walks
  • 37. Framework 1. Fit a distribution to past returns 2. Simulate n random walks 3. Price of stock will be mean of outcomes
  • 38. Fitting data to a distribution 𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔 = 𝐅𝐢𝐧𝐚𝐧𝐜𝐢𝐚𝐥𝐃𝐚𝐭𝐚["𝐆𝐎𝐎𝐆", "𝐑𝐞𝐭𝐮𝐫𝐧", 𝟐𝟎𝟎𝟔, 𝟏, 𝟏 , 𝟐𝟎𝟏𝟏, 𝟏, 𝟏 , "𝐕𝐚𝐥𝐮𝐞" ; {0.0229993, 0.0134759, 0.0319564, 0.00266289, 0.00612551, 0.00398076, -0.0169624, 0.00565106, 0.0018445, -0.0475263, -0.0190151, -0.084752, 0.0701948, 0.0363275, -0.0226396, ...
  • 39. Fitting data to a distribution 𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔 = 𝐅𝐢𝐧𝐚𝐧𝐜𝐢𝐚𝐥𝐃𝐚𝐭𝐚["𝐆𝐎𝐎𝐆", "𝐑𝐞𝐭𝐮𝐫𝐧", 𝟐𝟎𝟎𝟔, 𝟏, 𝟏 , 𝟐𝟎𝟏𝟏, 𝟏, 𝟏 , "𝐕𝐚𝐥𝐮𝐞" ; {0.0229993, 0.0134759, 0.0319564, 0.00266289, 0.00612551, 0.00398076, -0.0169624, 0.00565106, 0.0018445, -0.0475263, -0.0190151, -0.084752, 0.0701948, 0.0363275, -0.0226396, ... 𝐆𝐎𝐎𝐆𝐃𝐢𝐬𝐭 = 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐍𝐨𝐫𝐦𝐚𝐥𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝝁, 𝝈 NormalDistribution[0.0005029, 0.0227045
  • 40. Fitting data to a distribution Is the normal distribution a good fit?
  • 41. Fitting data to a distribution Is the normal distribution a good fit? 𝓗 = DistributionFitTest[GOOGRet2006, GOOGDist, "HypothesisTestData"]
  • 42. Fitting data to a distribution Problem of “fat tails”
  • 43. Fitting data to a distribution The stable distribution allows us to solve this problem, because of two additional parameters (alpha & beta)
  • 44. Fitting data to a distribution 𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭 = 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐒𝐭𝐚𝐛𝐥𝐞𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝟏, 𝛂, 𝛃, 𝛍, 𝛔 StableDistribution[1, 1.5313, −0.0097, 0.0004, 0.0110
  • 45. Fitting data to a distribution 𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭 = 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐒𝐭𝐚𝐛𝐥𝐞𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝟏, 𝛂, 𝛃, 𝛍, 𝛔 StableDistribution[1, 1.5313, −0.0097, 0.0004, 0.0110 𝓗 = DistributionFitTest[GOOGRet2006, GOOGStbDist, "HypothesisTestData"]
  • 46. Fitting data to a distribution The stable distribution is a better fit.
  • 47. Simulating future prices 𝐬𝐢𝐦𝐑𝐞𝐭𝐬 = 𝐑𝐚𝐧𝐝𝐨𝐦𝐕𝐚𝐫𝐢𝐚𝐭𝐞[𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭, 𝟐𝟓𝟎 ; 𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 = 𝐆𝐎𝐎𝐆𝐏𝐫𝐢𝐜𝐞𝟐𝟎𝟎𝟔⟦−𝟏 ;
  • 48. Simulating future prices 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 1 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 𝑟 𝑡1 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 2 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 (𝑟 𝑡1 +𝑟 𝑡2)
  • 49. Simulating future prices 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 1 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 𝑟 𝑡1 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 2 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 (𝑟 𝑡1 +𝑟 𝑡2) 𝐋𝐢𝐬𝐭𝐋𝐢𝐧𝐞𝐏𝐥𝐨𝐭[𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 ∗ 𝐄𝐱𝐩[𝐀𝐜𝐜𝐮𝐦𝐮𝐥𝐚𝐭𝐞[𝐬𝐢𝐦𝐑𝐞𝐭𝐬
  • 50. Simulating future prices 𝐦𝐞𝐚𝐧𝐆𝐎𝐎𝐆𝐏𝐫𝐢𝐜𝐞 = 𝐌𝐞𝐚𝐧[ 𝐌𝐞𝐚𝐧[ 𝐏𝐫𝐞𝐩𝐞𝐧𝐝[ 𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 ∗ 𝐄𝐱𝐩[𝐀𝐜𝐜𝐮𝐦𝐮𝐥𝐚𝐭𝐞[𝐑𝐚𝐧𝐝𝐨𝐦𝐕𝐚𝐫𝐢𝐚𝐭𝐞[𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭, 𝟐𝟓𝟎, 𝟓𝟎 , 𝐂𝐨𝐧𝐬𝐭𝐚𝐧𝐭𝐀𝐫𝐫𝐚𝐲[𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞, 𝟓𝟎 ] ] ]
  • 51. Simulating future prices The price of GOOG will be the mean of the means of each random walk
  • 52. How close were we? GOOG traded at $ 645.90 on December 30, 2011
  • 53. An idea of risk & return www.wolframalpha.com
  • 54. An idea of risk & return
  • 55.
  • 56.
  • 57.
  • 58.
  • 59. An idea of risk & return GOOG traded at $ 727.44 on September 20, 2012
  • 60. An idea of risk & return GOOG traded at $ 727.44 on September 20, 2012 In one year, there’s a 95% chance its price is going to be between $ 454.11 and $ 1294.98
  • 61. An idea of risk & return Would you buy it today?
  • 62. Why is it so hard to BEAT THE MARKET?
  • 63. What should be the STRATEGY of a SMALL INVESTOR?
  • 64. How to forecast the RISK and RETURN of an asset?
  • 66. References Random Walks and Finance: http://sas.uwaterloo.ca/~dlmcleis/s906/chapt1-6.pdf http://www.norstad.org/finance/ranwalk.pdf Random Walks and Efficient Markets: http://www.duke.edu/~rnau/411georw.htm http://www.amazon.com/Random-Walk-Down-Wall-Street/dp/0393325350 Wolfram Mathematica: http://reference.wolfram.com/mathematica/howto/PerformAMonteCarloSimulation.html
  • 67. References Online classes on Finance: https://www.coursera.org/course/compfinance https://www.coursera.org/course/introfinance Others: http://www.scientificamerican.com/article.cfm?id=can-math-beat-financial-markets http://www.scientificamerican.com/article.cfm?id=after-the-crash http://www.scientificamerican.com/article.cfm?id=trends-in-economics-a-calculus-of-risk
  • 68. References Quick readings on Wikipedia: http://en.wikipedia.org/wiki/Monte_Carlo_methods_for_option_pricing http://en.wikipedia.org/wiki/Black%E2%80%93Scholes http://en.wikipedia.org/wiki/Geometric_Brownian_motion http://en.wikipedia.org/wiki/Random_walk http://en.wikipedia.org/wiki/Exchange-traded_fund
  • 69. References In Portuguese: http://br.ishares.com/content/stream.jsp?url=/content/br/pt/repository/material/5-Min- Guide_PT.pdf&mimeType=application/pdf http://www.scielo.br/pdf/rac/v5n3/v5n3a11.pdf http://www.lume.ufrgs.br/bitstream/handle/10183/29661/000769163.pdf?sequence=1