# Tagged Questions

Monte Carlo simulation methods are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results.

159 views

### Simulate (imaginary) asset prices using random numbers that follow a Frank Copula

I didn't understand how to simulate asset prices by using non normal random numbers. I am assuming that it would be incorrect to use the standard Geometric Brownian Motion, since it is based solely ...
170 views

### What are some examples of non-solvable SDE where Monte Carlo discretization is necessary

Reading Glasserman - "Monte Carlo Methods in Finance" it says in the introduction to Chapter 6 - Discretization Methods, that moste models arising in derivatives pricing can be simulated only ...
215 views

### Forecast of ARMA-GARCH model in R

I managed to forecast a GARCH model yesterday and run a Monte Carlo simulation on R. Nevertheless, I can't do the same with an ARMA-GARCH. I tested 4 different method but without achieving an ARMA-...
106 views

### Evaluation of the semi-closed Heston pricing formula for call options

I'd like to know, how the integral part of the semi-closed Heston pricing formula for call options can be simulated for a given set of model parameters. Monte Carlo simulations shoud work for this ...
51 views

### Should earnings be modelled normally or lognormally?

I am having difficulty deciding whether a company's earnings should be modelled normally or lognormally. If we consider two arguments: (i) The earnings of a company are the returns on the assets of ...
140 views

### Simulation of Heston process

I am currently working on implementing Heston model in matlab for option pricing (in this case I am trying to price a European call) and I wanted to compare the results I obtain from using the exact ...
318 views

### How to use Halton sequence in monte carlo simulation

Does anybody know how to use the Halton pseudo random technique in monte carlo simulation. I'm able to generate the sequences and I know they are correct. I checked a couple of numbers from different ...
382 views

### How to do a Brownian Bridge with quasi-random numbers in the Heston model?

I'm required to use the Euler Monte Carlo method to compute the option price under Heston model settings. I know from some paper that the convergence is volatile for the Heston model with a plain ...
710 views

### BDT model implementation

I am looking for a nice and readable description of how to implement BDT model: $d log(r(t)) = [\theta(t)-\frac{\sigma'(t)}{\sigma(t)}log(r(t))]dt + \sigma(t) dW$. I assume I already have steady-...
61 views

### How do you deal with Inflation lag in a MC simulation?

Consider the UK RPI index. This index is published every month around the 15th (give or take a few days). The publication refers to the RPI index of the month before, so there is a lag of a few weeks ...
121 views

### Importance Sampling - where to center the sampling distribution?

Consider a Monte Carlo (MC) approximation to a European call with BS parameters $r = 0.05, \sigma = 0.4, T = 10, S_0 = 50$ and $K = 95$. Consider the following results, each using 1M points: plain ...
327 views

### Practical implementation of Libor Market Model

I am trying to implement a project about the BGM model, suggested in the book "The Concepts and Practice of mathematical finance" by Mark Joshi. My question is related to the forward volatility ...
77 views

### Initial values for Heston Model calibration

I'm doing a Heston model in Matlab using simple Monte Carlo simulations (5.000 paths and 2 steps per day, simulating 360 days). When I try to calibrate the Heston parameters using fminsearch it takes ...
571 views

### Greeks: Why does my Monte Carlo give correct delta but incorrect gamma?

For a vanilla European call, my Monte Carlo method gives the right option price and delta but the wrong gamma. In particular, the value of gamma varies wildly each time I run the method. I estimate ...
377 views

### Compute cross-gamma

I am trying to use delta-gamma method with montecarlo simulations to calculate the VAR of a portfolio consisting in options and equities. To use the method I need to compute a gamma matrix, that has ...
281 views

### Speeding up computations: when to use Quasi and standard Monte-Carlo in pricing

I am familiar with the theory of Monte-Carlo techniques in the numerical integration, and recently I have started my experiments with these methods applied to derivatives pricing. I am using ...
225 views

### Best way to do multithread Monte-Carlo in QuantLib

QuantLib has great facilities for Monte-Carlo pricing engines, classes McSimulation and MonteCarloModel do a lot of work. But they do it in a single thread. What is best way to introduce parallel run ...
52 views

### How to price lookback american option when its payment is distributed during its life

I would like to price a floating strike american lookback with a particular feature: I don't want to charge upfront the client, rather I would like to insert a "running fee", some sort of a dividend. ...
99 views

### (Re) normalisation of random variable in Monte-Carlo simulations

I have a very simple model (CIR) with a very simple discretisation scheme (Euler) and I use it to do Monte-Carlo Simulations. It is working. Someone insisted that renormalization of my random ...
347 views

### How to simulate a CIR process using GPU and Matlab

I am trying to simulate a CIR process using Matlab and my GPU for effeciency. At the moment i run into some implementation problems due to the recursive nature of the discretization. The sheme I ...
309 views

### Calculate CVaR for a portfolio

I would like to calculate the Conditional Value at Risk for a portfolio. To be honest, I'm trying for a few days to find an example to calculate for an entire portfolio, not just for one security and ...
199 views

### Monte Carlo simulation returns not normal distributed

I am generating 100,000 paths of SPX out to 1 year using Euler discretization. I look at how S is distributed for 100,000 paths at the 1 year point and I find it is lognormally distributed. I look at ...
283 views

### How to price exotic options using Monte-Carlo?

I am actually trying to solve some exercise problem using Monte-Carlo and C++ for exotic options. Namely, the exotic options are geometric Asian options and discrete barrier option. It is claimed ...
200 views

### Getting Parameter of Translated Gamma Distribution from Monte Carlo

Spin-off from here. (Edit) Main question: What do I do about a parameter whose suggested values range quite vastly? (Edit) Backstory: I am given data of loss values and the dates that correspond to ...
56 views

### Compute moments of aggregate loss using Monte Carlo

Spin-off from here. Richard referred to me an article that tells me how to get parameters of a translated gamma distribution to which I should consider fitting simulated aggregated loss values. The ...
299 views

### Get distribution for aggregate loss using Monte Carlo

I am given two data sets containing dates and losses (in some currency). Given a distribution for the amount of losses and an (a,b,0) distribution for frequency of losses, how can I use Monte Carlo ...
586 views

### Portfolio Optimization with Monte Carlo Simulation - How to do it with Excel?

If I have three asset classes and their historical weekly returns for five years, how can I construct a minimum variance portfolio and an efficient frontier plot with Excel? To do that do I have to ...
179 views

4k views

### How to get greeks using Monte-Carlo for arbitrary option?

Let's assume I have an arbitrary option that I can price using Monte-Carlo simulation. What is the general approach (i.e. without relying on specific option type) to calculating the greeks in this ...
310 views

### Practical implementation of Least Squares Monte Carlo (tweaks and pittfalls)

The Longstaff-Schwartz LSM approach is nowadays ubiquitous(at least in the academic literature) in pricing path dependant derivatives. Up to now I have mostly worked with lattice methods. My ...
190 views

### Importance sampling for barrier option like pricing by Monte carlo

I would like to know some references regarding importance sampling algorithms for variance reduction of Monte Carlo barrier options pricing. Please could someone help me leaving some references? If ...
69 views

### Price 3m libor autocap with LMM calibrated on 1y swaption data

I need to calculate a price of an autocap contract which is An autocap is similar to a cap, but at most Î³ â‰¤ Î² caplets can be exercised, and they have to be automatically exercised when in the ...
137 views

### Which quantitative tools are actually used for hedging energy price and volume risk?

I'm a finance professor and I am looking for someone with actual trading and risk management knowledge within the energy sector who can tell me about pricing and hedging energy (especially electricity ...
376 views

### Law of a geometric brownian motion first hitting time (formula dont match Monte Carlo Simulation)

I posted this question before on MSE I need to use it in a small step in the middle of a simulation and I think I'm not getting correct results to this probabilities and so for my all ...
295 views

### Valuation of barrier options in Jump diffusion model

I am trying to evaluate the value of a Barrier option using Monte carlo method. The stock follows a jump diffusion model. I am using the method described in Metwally and Atiya. The authors describe ...
216 views

### Convergence of GBM mean after simulation?

As a follow up of my previous question, I am now simulating the GBM step by step for $n$ steps. I am using the following implementation for the simulation: S_{t+1} = S_t \exp \left[ \left(\mu-\...
153 views

### What is wrong in this GBM simulation?

I am trying to generate a few samples of GBM using the following very simple MATLAB code: ...
170 views

### What would be a concise method to learn Monte Carlo methods?

Is there a concise way of learning the core Monte Carlo Methods from resources available online? This leads to my next question which is what are the core ideas to learn in Monte Carlo methods?
84 views

### Practitioner's criterion for MC pricing convergence

Let's say I have some Interest Rates (IR) pricing model which relies on Monte Carlo pricing and I'd like to benchmark its quality and find out optimal settings (time steps & iterations) per asset ...
972 views

### What are the merits of pseudo random numbers over quasi random numbers in monte-carlo simulation?

I understand that quasi-random numbers have much better convergence, but are there any reasons for me to use pseudo-random numbers instead?