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
2answers
183 views

European call down and out option (geometric Brownian motion, Monte Carlo, Euler)

I need to estimate the expected value and the Greeks of an European call down and out option, assuming geometrical Brownian motion of the asset, with Monte Carlo simulation employing Euler ...
2
votes
1answer
159 views

Is there an easily implementable alternative to lognormal growth (something with fatter tails)?

I have a toy model in Excel for the growth of a investment portfolio. I assume iid lognormal annual growth factors: =EXP(mu+sigma*NORM.S.INV(RAND())) where mu and ...
2
votes
2answers
2k views

Black Scholes and Monte Carlo implementations in Java [duplicate]

Possible Duplicate: Is there an all Java options-pricing library (preferably open source) besides jquantlib? Can anyone recommend a library with an implementation of Black Scholes and Monte ...
2
votes
0answers
70 views

Simulate correlated Geometric Brownian Motion in the R programming language

In response to this question: How to simulate correlated Geometric brownian motion for n assets? One of the responses provides an implementation in MATLAB: ...
2
votes
0answers
170 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 ...
2
votes
0answers
130 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
362 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
286 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
169 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
180 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
672 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
86 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
196 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
211 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
272 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
444 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
62 views

Is this formula correct to estimate a knock out option price using monte-carlo?

I have a knock-out option with barrier $L>0$ and strike $K$ that pays at maturity $(S-K)_+$. So, positive payoff occurs only in case the price stays below the barrier over life of the option. I am ...
1
vote
1answer
87 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
29 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
54 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
256 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
114 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
83 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
262 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
184 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
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 ...
1
vote
1answer
282 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
170 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
291 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
552 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
487 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
33 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
21 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
47 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
39 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
94 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
86 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
92 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
65 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
139 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
69 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
187 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
66 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 ...