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

learn more… | top users | synonyms

2
votes
0answers
125 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 ...
2
votes
0answers
336 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 ...
2
votes
0answers
82 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 ...
2
votes
0answers
269 views

How to price zero coupon bonds with the Monte Carlo method?

Im trying to calculate monthly ZCB bond prices with a fixed maturity T, over a period of months via Monte Carlo methods. Here is my attempt: For the first month, the price is $P_{t_0}(0,T) = ...
2
votes
0answers
2k views

Models for simulating FX movements

My goal is to develop a model to simulate long term FX movements. (I am not sure if long term makes any difference, but if it does I am more interested in long term fx movements) These Monte Carlo ...
1
vote
2answers
167 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?
1
vote
2answers
173 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 ...
1
vote
1answer
654 views

How to explain the path dependency in binomial tree model to price options?

I'm new to quantitative finance, so I'm confused with the so-called path dependency in binomial tree model. Originally I thought the path dependency exists because in binomial tree model, we will ...
1
vote
1answer
84 views

Timesteps in Vasicek model

When simulating stocks one can easily use GBM with only one random variable per simulation to create a new stock price in say 5 years, you don't need to create the whole asset paths if you don't need ...
1
vote
1answer
181 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 ...
1
vote
2answers
102 views

Efficient numerical approaches for pricing American Options with multiple sources of noise

I am looking for efficient numerical approaches for pricing American options when two or more sources of noise are involved (the simplest case coming to mind would be the Heston Model) Eventhough I ...
1
vote
1answer
210 views

Control variate for Heston model

Does anyone have suggestions for potential control variates for vanillas in a Heston model? I've tried black scholes with implied volatility, average volatility and long term volatility all without ...
1
vote
1answer
258 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 ...
1
vote
1answer
423 views

Greeks of Basket

I am considering a product composed of 10 underlying assets. The maturity is 5 year. Each year if the performance of the equi-weighted portfolio reach a barrier, it pays a coupon. My question concern ...
1
vote
1answer
82 views

Monte Carlo Option Pricing: Averaging Price Per Path

In Glasserman's book, he computes the price of an option by first computing the average price over each simulated price path. Once all the paths have been simulated, the average of all the payoffs is ...
1
vote
1answer
28 views

Calculate control variate for monte carlo simulation

For an exercise I need to calculate $\mathbb{E}[X]$ with a Monte Carlo simulation. I need to use control variate $Y$ with $\text{Var}(Y)=2$ and $\text{Cov}(X,Y)=1$. I am asked to give the optimale ...
1
vote
2answers
53 views

Martingale correction for Andersen scheme with Interest Rate

I have implemented martingale correction to my Andersen scheme for Heston model, as it is in the paper (page 19-22): ...
1
vote
2answers
220 views

Barrier option : Monte carlo simulation

I am trying to price a Down-and-Out Call using Monte Carlo simulation. The problem is that I get the right price for the vanilla option (same price as the analytic formula of Black and Scholes) but I ...
1
vote
1answer
112 views

Geometric Brownian Motion: d(S) vs. d(ln(S))

I am quoting from "Tools for Computational Finance, 5th Edition" [Seydel]. I wonder whether the histogram of simulations of the first (yellow) SDE makes sense... especially given that Seydel ...
1
vote
1answer
80 views

Monte Carlo VaR assuming logistic distribution

I have a Monte Carlo model which measures the Value at Risk (VaR) for given portfolio. I use the geometric brownian motion to model the prices. But let's say I assumed the returns of prices follow the ...
1
vote
1answer
243 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 ...
1
vote
1answer
166 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
275 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 ...
1
vote
1answer
165 views

Median value for geometric brownian motion simulation

I'm trying to simulate stock prices using GBM. I am using the following formula, and MATLAB function, to determine the stock prices: $\nu = \mu - \frac{\sigma^{2}}{2}$; $S = S0*\text{[ones(1,nsims); ...
1
vote
2answers
282 views

Basket Option weight sensitivity calculation

I am looking to find/estimate the "greeks"/option price sensitivities/derivatives for a basket option situation. In specific the change in price of a put option associated with a change in weight of a ...
1
vote
1answer
523 views

MonteCarlo simulation of stock prices using milstein scheme with dividend yield?

While performing a montecarlo simulation of stock prices using the milstein scheme is it possible to take into account the dividend yield into the simulation itself somehow, if we are given a ...
1
vote
1answer
474 views

Heston MC Simulations - Speed up in Matlab

At the moment I am running a Quad Core Xeon PC with 12GB of RAM doing crude MC with 10k scenarios and 1000 time steps. And using fminsearch for calibration, and it takes about half an hour to an hour ...
1
vote
1answer
28 views

American option - Upper bound

I have computed a lower bound for an american option through longstaff and schwartz's algorithm. Now I have to compute the upper bound as andersen and broadie does in their article. Can anybody help ...
1
vote
0answers
18 views

Local volatility grids - Monte carlo - Implementation [closed]

I read the paper "Monte Carlo pricing with local volatility grids" (authors: D.F. Abasto, B. Hientzsch and M.P. Kust) and I would like to know if anyone on this forum had a chance to implement it as I ...
1
vote
0answers
40 views

Las vegas method?

In one of his winning paper, backward induction for future values, A. Antonov, quant of the year 2016, refer to the American Monte-Carlo method as the Las Vegas method. Is this name used appart from ...
1
vote
0answers
37 views

Is this a GARCH Monte-Carlo simulation?

I tried this as a simulation for a GARCH(1,1) model. Is it correct? (I'm not speaking about the code itself, which works, but the underlying idea). Here is plot (of ...
1
vote
0answers
17 views

Optimizing Monte Carl integral calculation with control variate

For an exercise I am asked to calculate an integral with a monte carlo simulation, after that I need to optimize the results with a control variate. This was the given integral: $\int_0^1 \! ...
1
vote
0answers
90 views

Heston model - Andersen scheme implementation

I would like to implement Andersen scheme for Heston simulation. On the following snipped is my code for generating asset path: ...
1
vote
0answers
79 views

Simulating Option Positions VaR with Monte Carlo in Python

I'm trying to calculate VaR for overall option positions. Currently I do a MC simulation for the underlying, and derive the theoretical value of the option from those theoretically. Then I calculate ...
1
vote
0answers
80 views

Adding Asset Weights To Cholesky Output - Monte Carlo in VBA

I am looking to create a Monte Carlo generator in Excel to plot correlated asset paths for a portfolio containing 1 to 10 assets. I have the correlation matrix for all 10 assets and have performed the ...
1
vote
0answers
18 views

Methods Available for Derivative Pricing in Mathematica? [closed]

I am using Mathematica to price options (built in functions, no need to reinvent the wheel, right?). In the documentation, the Binomial method is used as an example of specifying a non-standard ...
1
vote
0answers
62 views

Monte Carlo simulation of Multifractional Brownian Motion in MATLAB

Code under is taken from http://en.literateprograms.org/Monte_Carlo_simulation_(Matlab) ...
1
vote
0answers
17 views

Multiple similar values simulation

Perhaps some of you came across the following task that I am trying to automate for @RISK, VOSE or other simulation software? I have a question as we are trying to use the software to estimate the ...
1
vote
0answers
138 views

Monte Carlo, convexity and Risk-Neutral ZCB Pricing

I've built a simplistic Excel monte carlo model to price a zero-coupon bond, but it came up with a slightly unepxected result so I wanted to confirm whether my maths is just a little rusty or my model ...
1
vote
0answers
65 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 ...
1
vote
0answers
176 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 ...
1
vote
0answers
65 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 ...
1
vote
0answers
44 views

Weak convergence of Lookback payoff with correction term

In this article on the Multilevel Monte Carlo method on page 8, http://people.maths.ox.ac.uk/gilesm/files/mcqmc06.pdf, Giles uses a correction term to improve the weak convergence rate of the lookback ...
1
vote
0answers
107 views

What are the industry standard models for monte carlo simulation of basket options?

I would like to simulate an equity index, a risk free cash account and the yield curve for the purposes of valuing a guarantee on an insurance product that is being backed by both equities and cash. ...
0
votes
2answers
163 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 ...
0
votes
3answers
187 views

Divergence between binomial pricing and monte carlo simulation for vanilla european call?

I notice a divergence in my own code, but it's evident even in public code: http://www.thalesians.com/finance/index.php/Knowledge_Base/Finance/Option_Pricing_in_Python_and_Simple_English Pricing a ...
0
votes
1answer
56 views

Payoff of a butterfly c++

I would like to price options (call, put,, butterfly) with monte-carlo method, but actually I need the expression of the butterflay payoff; Could you ^please help me !
0
votes
1answer
3k views

Stock prices using a monte carlo simulation with a normal inverse gauss distribution

I am supposed to model daily stock prices with a normal inverse gauss distribution in excel. I feel like I am misssing some basics because I cant transform the information from the academic papers ...
0
votes
2answers
134 views

Discrepancy between binomial model, Black-Scholes and Monte-Carlo Simulation

I try to use Monte-Carlo Simulation to price a 10-year call option. Based on below parameter, S = 1, X = 1, volatility = 80%, T = 10, risk-free rate = 0.22% The option value based on Monte-Carlo ...