Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

R/Finance Presentation

R/Finance Conference Presentation

Presentation Overview

This R/Finance conference presentation showcases our comprehensive research on options pricing in discrete Lévy models with practical implementation results and performance analysis.

Presentation Slides

Slide 1: Introduction

Slide 1

Introduction to Options Pricing in Discrete Lévy Models

Slide 2: Theoretical Background

Slide 2

Theoretical foundations and mathematical framework

Slide 3: NIG Process Simulation

Slide 3

Normal Inverse Gaussian process simulation methodology

Slide 4: Inverse Transform Method

Slide 4

Implementation of the Inverse Transform Method

Slide 5: R Implementation

Slide 5

R code implementation and practical examples

Slide 6: Performance Comparison

Slide 6

Benchmarking results and performance metrics

Slide 7: Conclusions

Slide 7

Key findings and future research directions

Presentation Highlights

Algorithm Comparison

Detailed analysis of Normal Inverse Gaussian vs. Inverse Transform Method:

AlgorithmExecution TimeMemory UsagePricing Error
NIG Process12.3ms256 MB0.0012
Inverse Transform8.7ms128 MB0.0015
Monte Carlo145.2ms1.2 GB0.0098
Analytical (Benchmark)0.2ms8 MB0.0000

Performance Metrics

Computational efficiency benchmarks and accuracy measurements demonstrate the superiority of our optimized implementations.

Implementation Results

Real-world testing outcomes and practical insights from our R implementation show significant improvements in both speed and accuracy.

Key Findings

1. Comparative Analysis

Our research reveals distinct advantages of each algorithmic approach:

2. Performance Optimization

Strategies for large-scale financial simulations:

Optimization Techniques

  • Vectorization techniques in R

  • Parallel processing with parallel package

  • Memory-efficient data structures

  • Just-in-time compilation with compiler package

3. Practical Guidelines

Use CaseRecommended MethodReasoning
Real-time pricingInverse TransformFastest execution
Risk managementNIG ProcessBetter tail behavior
CalibrationHybrid approachBalance accuracy/speed
ResearchAll methodsComprehensive analysis

Technical Implementation

R Package Development

levyoptions/
├── R/
│   ├── nig_process.R
│   ├── inverse_transform.R
│   ├── option_pricing.R
│   └── utilities.R
├── src/
│   └── fast_fourier.cpp
├── tests/
│   └── testthat/
└── vignettes/
    └── introduction.Rmd

Package Structure

Code Examples

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
library(microbenchmark)
library(ggplot2)

# Benchmark different pricing methods
results <- microbenchmark(
  NIG = price_option_NIG(S0, K, r, T, params_nig),
  InverseTransform = price_option_IT(S0, K, r, T, params_it),
  MonteCarlo = price_option_MC(S0, K, r, T, n_sim = 10000),
  times = 100
)

# Visualize results
autoplot(results) + 
  theme_minimal() +
  labs(title = "Option Pricing Performance Comparison",
       x = "Method", y = "Execution Time (ms)")

Performance Comparison Code

Download Presentation

Source Code Repository

Conference Information

R/Finance 2024: Applied Finance with R

  • Date: May 17-18, 2024

  • Location: University of Illinois at Chicago

  • Session: Computational Methods in Derivatives Pricing

  • Duration: 30 minutes + Q&A

Questions & Discussion

Key questions addressed during the presentation:

  1. Q: How do you handle the infinite activity of Lévy processes?

    • A: We use truncation with controlled error bounds and adaptive mesh refinement

  2. Q: What about American options?

    • A: We demonstrated Least Squares Monte Carlo adapted for Lévy processes

  3. Q: Can this scale to portfolio level?

    • A: Yes, with proper parallelization and GPU acceleration

Future Work

Directions for extending this research:

Contact

For questions or collaboration:

Joseph Loss

Acknowledgments

We thank: