SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
THE FAST FOURIER TRANSFORM IN
FINANCE
BY: BARRETT WILLIAMS
KEY POINTS
• What is a Fast Fourier Transform?
• How are they used in finance?
• My model and its outcomes
• Improvements
• Summary
THE FAST FOURIER TRANSFORM
• FFT: is an algorithm that computes the Discrete Fourier Transform of a
sequence or its inverse, often times both are preformed.
• Fourier Analysis finds a signal from the domain of the data, usually time or
space, and transforms it into a representation of frequency.
• The algorithm is used to predict future values in a multitude of different fields
from environmental data to financial data.
• 𝑛=0
𝑁
2
−1
𝑎2𝑛𝑒
−2𝜋 2𝑛 𝑖𝑘
𝑁 + 𝑛=0
𝑁
2
−1
𝑎2𝑛+1𝑒
−2𝜋 2𝑛+1 𝑖𝑘
𝑁
FFT IN FINANCE
• They are mostly used to compute future predictions of the prices of financial
derivatives.
• Can be used for plain vanilla equities, but not normally implemented due to the fact that
derivatives are more mathematically backed. Meaning that there are more parameters
to aid in forecasting.
• This type of valuation is mostly used by quantitative hedge funds that employ
complex algorithmic trading strategies.
FFT IN FINANCE
• The following slides will be how the FFT is used to price an option call
• 𝜔𝑘 = 𝑗=1
𝑁
𝑒
−1
2𝜋
𝑁
𝑗−1 𝑘−1
𝑋 𝑗 for k=1,…,N
• N is typically a power of 2. The algorithm reduces it from 𝑁2 to 𝑁𝑙𝑛2(𝑁). The
approximation of the call price 𝐶𝑇 𝑘 ≈
exp −𝛼𝑘
𝜋 𝑗=1
𝑁
𝑒−𝑖𝑣𝑗𝑘
Ψ𝑇 𝑣𝑗 𝜂
• The upper limit for integration is now 𝑎 = 𝑁𝜂. We are mostly focusing on near-the-money
calls with this integration.
• The FFT returns N values of k and we will then employ normal spacing of size λ, this
gives us k values of:
• 𝑘𝑢 = −𝑏 + λ(𝑢 − 1) for u=1,…,N
FTT IN FINANCE
• This returns log strike levels from –b to b, where 𝑏 =
1
2
𝑁λ
• Incorporate Simpson's rule of weighting into the summation and the restriction
λη =
2𝜋
𝑁
, the call price can be rewritten as:
• 𝐶𝑇 𝑘𝑢 ≈
exp −𝛼𝑘𝑢
𝜋 𝑗=1
𝑁
𝑒−𝑖𝑣𝑗𝑘
Ψ𝑇 𝑣𝑗
η
3
3 + −1 𝑗 − 𝛿𝑗−1
• Where 𝛿_𝑛 is the Kronecker delta function that is unity for n=0 and zero otherwise.
MODEL AND ITS
OUTCOMES
• Used a non-linear least-
squares to fit this quadratic
equation.
• Linear was not strong
enough and a cubic fit
went off to infinity
because it tried to map
the peaks to close and
couldn’t.
MODEL AND ITS OUTCOMES
MODEL AND ITS
OUTCOMES
• I obtained the theoretical (predicted)
values (red) by taking the IFFT of the
curve I got from the first 162 days. I
then used this to interpolate the next
90 days of data and plotted it against
the actual 90 days (blue).
• I obtained a 55% correlation, but my
percent error was much than expected
for only having a 55% correlation. I
had a 15% error of average of the
90 interpolated data points.
IMPROVEMENTS
• The model works much better for stocks that are not as volatile, but I really
wanted to test it.
• I could implement spectral interpolation. This was one of the more popular
ways to increase the resolution of FFT models
• When looking at a peak in the frequency spectrum of a signal, the relationship between
the bin of highest magnitude with those surrounding it can provide valuable information.
• If, there is a relationship between consecutive FFT bin magnitudes, it can be used to
approximate the exact frequency of the input sine, even if it is not equal to one of the bin
frequencies.
SUMMARY
• FFT models have become very prominent in application do to there powerful
and accurate prediction ability.
• They are not going away in finance anytime soon.

Weitere ähnliche Inhalte

Ähnlich wie The Fast Fourier Transform in Finance (Presentacion).pdf

3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform
Wiw Miu
 
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMA seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
मनीष राठौर
 
Superefficient Monte Carlo Simulations
Superefficient Monte Carlo SimulationsSuperefficient Monte Carlo Simulations
Superefficient Monte Carlo Simulations
Cheng-An Yang
 

Ähnlich wie The Fast Fourier Transform in Finance (Presentacion).pdf (20)

lec10new.ppt
lec10new.pptlec10new.ppt
lec10new.ppt
 
Res701 research methodology fft1
Res701 research methodology fft1Res701 research methodology fft1
Res701 research methodology fft1
 
5954987.ppt
5954987.ppt5954987.ppt
5954987.ppt
 
PPT - Enhancing the Locality and Breaking the Memory Bottleneck of Transforme...
PPT - Enhancing the Locality and Breaking the Memory Bottleneck of Transforme...PPT - Enhancing the Locality and Breaking the Memory Bottleneck of Transforme...
PPT - Enhancing the Locality and Breaking the Memory Bottleneck of Transforme...
 
LVTS APC fuzzy controller
LVTS APC fuzzy controllerLVTS APC fuzzy controller
LVTS APC fuzzy controller
 
Deep Learning Introduction - WeCloudData
Deep Learning Introduction - WeCloudDataDeep Learning Introduction - WeCloudData
Deep Learning Introduction - WeCloudData
 
3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
04 image transformations_ii
04 image transformations_ii04 image transformations_ii
04 image transformations_ii
 
DeepLearning.pdf
DeepLearning.pdfDeepLearning.pdf
DeepLearning.pdf
 
Interpolation and its applications
Interpolation and its applicationsInterpolation and its applications
Interpolation and its applications
 
1 AUDIO SIGNAL PROCESSING
1 AUDIO SIGNAL PROCESSING1 AUDIO SIGNAL PROCESSING
1 AUDIO SIGNAL PROCESSING
 
Dimensionality Reduction.pptx
Dimensionality Reduction.pptxDimensionality Reduction.pptx
Dimensionality Reduction.pptx
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learning
 
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalization
 
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMA seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
 
Mediump support in Mesa (XDC 2019)
Mediump support in Mesa (XDC 2019)Mediump support in Mesa (XDC 2019)
Mediump support in Mesa (XDC 2019)
 
Deep learning concepts
Deep learning conceptsDeep learning concepts
Deep learning concepts
 
Wavelet transform
Wavelet transformWavelet transform
Wavelet transform
 
Superefficient Monte Carlo Simulations
Superefficient Monte Carlo SimulationsSuperefficient Monte Carlo Simulations
Superefficient Monte Carlo Simulations
 

Kürzlich hochgeladen

VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 

Kürzlich hochgeladen (20)

celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hourcelebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
celebrity 💋 Agra Escorts Just Dail 8250092165 service available anytime 24 hour
 
VIP Model Call Girls Shikrapur ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Shikrapur ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Shikrapur ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Shikrapur ( Pune ) Call ON 8005736733 Starting From 5K t...
 
WORLD DEVELOPMENT REPORT 2024 - Economic Growth in Middle-Income Countries.
WORLD DEVELOPMENT REPORT 2024 - Economic Growth in Middle-Income Countries.WORLD DEVELOPMENT REPORT 2024 - Economic Growth in Middle-Income Countries.
WORLD DEVELOPMENT REPORT 2024 - Economic Growth in Middle-Income Countries.
 
Finance strategies for adaptation. Presentation for CANCC
Finance strategies for adaptation. Presentation for CANCCFinance strategies for adaptation. Presentation for CANCC
Finance strategies for adaptation. Presentation for CANCC
 
World Press Freedom Day 2024; May 3rd - Poster
World Press Freedom Day 2024; May 3rd - PosterWorld Press Freedom Day 2024; May 3rd - Poster
World Press Freedom Day 2024; May 3rd - Poster
 
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Agra 7001035870 Whatsapp Number, 24/07 Booking
 
VIP Model Call Girls Narhe ( Pune ) Call ON 8005736733 Starting From 5K to 25...
VIP Model Call Girls Narhe ( Pune ) Call ON 8005736733 Starting From 5K to 25...VIP Model Call Girls Narhe ( Pune ) Call ON 8005736733 Starting From 5K to 25...
VIP Model Call Girls Narhe ( Pune ) Call ON 8005736733 Starting From 5K to 25...
 
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
Russian🍌Dazzling Hottie Get☎️ 9053900678 ☎️call girl In Chandigarh By Chandig...
 
Government e Marketplace GeM Presentation
Government e Marketplace GeM PresentationGovernment e Marketplace GeM Presentation
Government e Marketplace GeM Presentation
 
Top Rated Pune Call Girls Bhosari ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Bhosari ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Bhosari ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Bhosari ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
The U.S. Budget and Economic Outlook (Presentation)
The U.S. Budget and Economic Outlook (Presentation)The U.S. Budget and Economic Outlook (Presentation)
The U.S. Budget and Economic Outlook (Presentation)
 
Call Girls Nanded City Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Nanded City Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Nanded City Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Nanded City Call Me 7737669865 Budget Friendly No Advance Booking
 
Junnar ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Junnar ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Junnar ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Junnar ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Call On 6297143586 Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
Call On 6297143586  Viman Nagar Call Girls In All Pune 24/7 Provide Call With...Call On 6297143586  Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
Call On 6297143586 Viman Nagar Call Girls In All Pune 24/7 Provide Call With...
 
Antisemitism Awareness Act: pénaliser la critique de l'Etat d'Israël
Antisemitism Awareness Act: pénaliser la critique de l'Etat d'IsraëlAntisemitism Awareness Act: pénaliser la critique de l'Etat d'Israël
Antisemitism Awareness Act: pénaliser la critique de l'Etat d'Israël
 
TEST BANK For Essentials of Negotiation, 7th Edition by Roy Lewicki, Bruce Ba...
TEST BANK For Essentials of Negotiation, 7th Edition by Roy Lewicki, Bruce Ba...TEST BANK For Essentials of Negotiation, 7th Edition by Roy Lewicki, Bruce Ba...
TEST BANK For Essentials of Negotiation, 7th Edition by Roy Lewicki, Bruce Ba...
 
Financing strategies for adaptation. Presentation for CANCC
Financing strategies for adaptation. Presentation for CANCCFinancing strategies for adaptation. Presentation for CANCC
Financing strategies for adaptation. Presentation for CANCC
 
Akurdi ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Akurdi ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Akurdi ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Akurdi ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Booking open Available Pune Call Girls Shukrawar Peth 6297143586 Call Hot In...
Booking open Available Pune Call Girls Shukrawar Peth  6297143586 Call Hot In...Booking open Available Pune Call Girls Shukrawar Peth  6297143586 Call Hot In...
Booking open Available Pune Call Girls Shukrawar Peth 6297143586 Call Hot In...
 
Get Premium Budhwar Peth Call Girls (8005736733) 24x7 Rate 15999 with A/c Roo...
Get Premium Budhwar Peth Call Girls (8005736733) 24x7 Rate 15999 with A/c Roo...Get Premium Budhwar Peth Call Girls (8005736733) 24x7 Rate 15999 with A/c Roo...
Get Premium Budhwar Peth Call Girls (8005736733) 24x7 Rate 15999 with A/c Roo...
 

The Fast Fourier Transform in Finance (Presentacion).pdf

  • 1. THE FAST FOURIER TRANSFORM IN FINANCE BY: BARRETT WILLIAMS
  • 2. KEY POINTS • What is a Fast Fourier Transform? • How are they used in finance? • My model and its outcomes • Improvements • Summary
  • 3. THE FAST FOURIER TRANSFORM • FFT: is an algorithm that computes the Discrete Fourier Transform of a sequence or its inverse, often times both are preformed. • Fourier Analysis finds a signal from the domain of the data, usually time or space, and transforms it into a representation of frequency. • The algorithm is used to predict future values in a multitude of different fields from environmental data to financial data. • 𝑛=0 𝑁 2 −1 𝑎2𝑛𝑒 −2𝜋 2𝑛 𝑖𝑘 𝑁 + 𝑛=0 𝑁 2 −1 𝑎2𝑛+1𝑒 −2𝜋 2𝑛+1 𝑖𝑘 𝑁
  • 4. FFT IN FINANCE • They are mostly used to compute future predictions of the prices of financial derivatives. • Can be used for plain vanilla equities, but not normally implemented due to the fact that derivatives are more mathematically backed. Meaning that there are more parameters to aid in forecasting. • This type of valuation is mostly used by quantitative hedge funds that employ complex algorithmic trading strategies.
  • 5. FFT IN FINANCE • The following slides will be how the FFT is used to price an option call • 𝜔𝑘 = 𝑗=1 𝑁 𝑒 −1 2𝜋 𝑁 𝑗−1 𝑘−1 𝑋 𝑗 for k=1,…,N • N is typically a power of 2. The algorithm reduces it from 𝑁2 to 𝑁𝑙𝑛2(𝑁). The approximation of the call price 𝐶𝑇 𝑘 ≈ exp −𝛼𝑘 𝜋 𝑗=1 𝑁 𝑒−𝑖𝑣𝑗𝑘 Ψ𝑇 𝑣𝑗 𝜂 • The upper limit for integration is now 𝑎 = 𝑁𝜂. We are mostly focusing on near-the-money calls with this integration. • The FFT returns N values of k and we will then employ normal spacing of size λ, this gives us k values of: • 𝑘𝑢 = −𝑏 + λ(𝑢 − 1) for u=1,…,N
  • 6. FTT IN FINANCE • This returns log strike levels from –b to b, where 𝑏 = 1 2 𝑁λ • Incorporate Simpson's rule of weighting into the summation and the restriction λη = 2𝜋 𝑁 , the call price can be rewritten as: • 𝐶𝑇 𝑘𝑢 ≈ exp −𝛼𝑘𝑢 𝜋 𝑗=1 𝑁 𝑒−𝑖𝑣𝑗𝑘 Ψ𝑇 𝑣𝑗 η 3 3 + −1 𝑗 − 𝛿𝑗−1 • Where 𝛿_𝑛 is the Kronecker delta function that is unity for n=0 and zero otherwise.
  • 7. MODEL AND ITS OUTCOMES • Used a non-linear least- squares to fit this quadratic equation. • Linear was not strong enough and a cubic fit went off to infinity because it tried to map the peaks to close and couldn’t.
  • 8. MODEL AND ITS OUTCOMES
  • 9. MODEL AND ITS OUTCOMES • I obtained the theoretical (predicted) values (red) by taking the IFFT of the curve I got from the first 162 days. I then used this to interpolate the next 90 days of data and plotted it against the actual 90 days (blue). • I obtained a 55% correlation, but my percent error was much than expected for only having a 55% correlation. I had a 15% error of average of the 90 interpolated data points.
  • 10. IMPROVEMENTS • The model works much better for stocks that are not as volatile, but I really wanted to test it. • I could implement spectral interpolation. This was one of the more popular ways to increase the resolution of FFT models • When looking at a peak in the frequency spectrum of a signal, the relationship between the bin of highest magnitude with those surrounding it can provide valuable information. • If, there is a relationship between consecutive FFT bin magnitudes, it can be used to approximate the exact frequency of the input sine, even if it is not equal to one of the bin frequencies.
  • 11. SUMMARY • FFT models have become very prominent in application do to there powerful and accurate prediction ability. • They are not going away in finance anytime soon.