Questions tagged [monte-carlo]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
255 views

Testing a Monte Carlo simulation independently

I'm building a Monte Carlo option pricing model in Python/SciPy. I want to test the results produced by the Python code by building the model independently in Excel and then comparing the results. Off ...
2
votes
1answer
2k 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 ...
2
votes
3answers
271 views

VaR estimate with Monte Carlo simlation

i want to verify the theoretical VaR 99% for the following Random Variable: \begin{align*} X=\epsilon + \nu, \end{align*} $\epsilon \sim \mathcal{N}(0,1)$, \begin{align*} \nu= \begin{cases}\begin{...
2
votes
1answer
248 views

Using crude Monte Carlo

Background Information: The crude Monte Carlo algorithm for the arithmetic Asian call option is $$Y = e^{-rT}(\overline{S}_A - K)^{+}$$ and the control is $$C e^{-rT}(\overline{S}_G - K)^{+}$$ The ...
2
votes
1answer
82 views

Doing MC simulation using two different methods, are they the same?

I have learnt two versions of Monte Carlo simulations to do stock price, and can someone help check if I am thinking this right. The first one is the most common one: $\frac{\Delta S_t}{St}-1 = \mu ...
2
votes
1answer
98 views

What is the annualized realized volatility of simulated Brownian motion paths?

I saw this following question in an exam. Take a Brownian motion simulation with drift 5% and annualized volatility of 20% for a period of 1 year. Then the annualized realized volatility of the ...
2
votes
2answers
1k views

Monte Carlo simulations in Python using quasi random standard normal numbers using sobol sequences gives erroneous values

I am trying to perform Monte Carlo Simulations using quasi random standard normal numbers. I understand that we can use sobol sequences to generate uniform numbers, and then use probability integral ...
2
votes
2answers
165 views

Is it possible to model path-dependent clauses using finite difference methods?

I'm trying to build a convertible bond pricer. In my case a convertible bond is a complex derivative with call, put and conversion price reset clauses, and all of the clauses are triggered in a path-...
2
votes
1answer
76 views

Day counts and time increment in Monte Carlo

Suppose the evolution of the stock price is given by Geometric Brownian Motion. Futher I assume that the risk free rate process is given by CIR model. In both models there is a time increment dt. To ...
2
votes
2answers
905 views

Pricing variance swaps using Monte Carlo

For pricing variance swaps there is the well-known formula as sum of OTM options weighted by the inverse of the squared strike (see e.g. here). Would it also be valid to derive the local-volatility ...
2
votes
1answer
61 views

Expected number of days inside a corridor

Is there a simple (ish) approximation for the expected number of steps a random walk is within a set of bounds over a given time period? - in particular if i presume log normal and constant vol. If i ...
2
votes
1answer
3k 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 ...
2
votes
2answers
111 views

Single-step Monte Carlo in Excel

How do you simulate correctly using raw prices not returns? I have corresponding periods of earnings to Futures but the Excel call function =NORMINV(RAND(),mean,stdev) generates negative Futures ...
2
votes
2answers
101 views

Sample from aggregate portfolio distribution versus individual asset distributions

Suppose I have three assets $x_1,x_2,x_3$ in a portfolio with weights $W=\begin{bmatrix} w_1 \\ w_2 \\ w_3 \end{bmatrix} $, expected returns $R=\begin{bmatrix} \mu_1 \\ \mu_2 \\ \mu_3 \end{bmatrix}$, ...
2
votes
1answer
216 views

How to price the American style Asian option with recent N day average

How to price the American style Asian option with recent N day average, for example, we exercise at t day, then the payment is $$...
2
votes
1answer
403 views

Monte Carlo and PDE results are different for a Call Option!

Okay so this might be a fairly trivial question but I'm having an issue with valuing a call option using both a Monte Carlo method and a PDE method. When I started I first used the parameters: Spot =...
2
votes
2answers
444 views

Deduce expected exposure profile from option/structure delta?

I am thinking about whether there exists a relationship between the delta of an option (or any structured derivative) and it's expected positive/negative exposure? An intuitive question would be the ...
2
votes
1answer
1k views

American Swaption Pricing with Monte-Carlo method

I want to price an American swaption but I am not sure about what I am doing. Tree methods and PDE discretization seem difficult to adapt to a swaption. I am trying a Monte-Carlo approach. (in ...
2
votes
1answer
727 views

Quasi Monte Carlo in Matlab

I want to use Quasi Monte Carlo to try and improve the convergence of a simulation I am running. The random numbers are simply to produce the observation errors for a standard linear regression model....
2
votes
1answer
898 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 ...
2
votes
1answer
40 views

Exact solution stock price with Vasicek interest rate model

Define two correlated stock price- and interest rate (Vasicek) processes, governed by the Wiener processes $W^{S}(t)$ and $W^{r}(t)$ $$dS(t)=r(t)S(t)dt+\sigma S(t)dW^{S}(t)$$ $$dr(t)=\kappa(\theta-r(...
2
votes
1answer
67 views

Multi-factor vs Single-factor interest rate model for XVA / CCR

When calculating XVA or Counterparty Credit Risk (CCR), you can choose to simulate your interest rate with a Multi-factor interest rate model or a Single-factor interest rate model. What are the pros ...
2
votes
1answer
126 views

Why do we have to use in-the-money paths in LSMC, and how?

In Longstaff's original LSMC paper (Valuing American Options by Simulation: A Simple Least-Squares Approach, 2001 (link)), it is claimed that one should only use in-the-money paths for regression at ...
2
votes
1answer
76 views

Monte Carlo simulations of stock price percentage change rather than stock price

Say we have a stock price time series $S_k$. We can do monte carlo simulations on the stock price to make predictions about future prices (e.g. through Geometric Brownian Motion SDE's). Does it make ...
2
votes
1answer
98 views

References for Monte Carlo in insurance

As the title suggests, I'm looking for reference works on Monte Carlo methods in insurance. Wikipedia tells me that the terminus technicus here is dynamic financial analysis. I'm about to start a ...
2
votes
1answer
580 views

Longstaff Schwartz Algrorithm in R

I recently discovered the LSMonteCarlo library in R which basically determines the price of American options via Longstaff Schwartz method. I tried the ...
2
votes
3answers
679 views

how to simulate FX forwards

My question is how to do Monte Carlo simulation for FX forward contracts. Just imagine you have bought a bunch of FX forwards (in various currencies and various tenors) for hedging purposes and you ...
2
votes
3answers
945 views

Cointegration pair trading - how to test a trading rule using Monte Carlo?

I am doing a research exercise where I have two price series $X_t, Y_t$ which I regress against each other and test for cointegration. Once I confirm that they are cointegrated (using CADF or ...
2
votes
3answers
199 views

Distribution of pay-off of an exotic option

Can any assumptions be made about the pay-off of an exotic option? For example, might we say the distribution of the pay-off a vanilla option would be Normal? I have built a valuation tool that ...
2
votes
1answer
199 views

Example of options that cannot be priced with least-square Monte Carlo

Can you give some example of options that cannot be priced with least-square Monte Carlo? Intuitively, this is any option for which a payoff depends on a previous exercise decision. It's relatively ...
2
votes
1answer
368 views

Correlated random variables with additional autocorrelation - multi dimensional Cholesky?

For my thesis I'm currently generating several time series of random numbers, so far so good. Now I realized some autocorrelation in the series as well and don't really know how to cope with it. Can I ...
2
votes
1answer
753 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 ...
2
votes
0answers
61 views

Beta estimates of Regressions on AR(1) Process

I am currently working through the paper The Myth of Long-Horizon Predictability [1] and I got stuck in reproducing the empirical results in Section 1.4. It is my understanding that time series of ...
2
votes
0answers
54 views

Stratified sampling in asian options

I am using the procedure of stratified sampling for variance reduction. In the Glasserman book the algorithm for stratified the terminal value of the Brownian motion is given for european options. For ...
2
votes
0answers
75 views

Can variance change over time?

I'm working on a toy project that involves fantasy basketball, I know this is the quantitative finance stackexchange, but it seemed like the best place to ask this question. My goal is to make ...
2
votes
0answers
67 views

Optimizing monte carlo code in python [closed]

What are they key points to use while coding a monte carlo simulation in python? I have the following monte carlo code : ...
2
votes
0answers
76 views

When to remove a trading strategy?

Every strategy has a limited lifespan. How do you decide when to stop a particular strategy as it has lost its edge? Few of things that can be thought is strategy crossing its maximum drawdown, net ...
2
votes
0answers
448 views

Longstaff-Schwartz, special american option simulation using Python (numpy package)

I got a put option, which can be exercised 3 times, all at different times, which are each month of a year $$t_1 = \frac{1}{12}, t_2 = \frac{2}{12} ... t_{12} = 1$$. Respectively, if exercised at $$...
2
votes
0answers
217 views

Simulating compound Poisson jump-diffusion process with time-changed jump frequency

I want to simulate a jump-diffusion process with compound Poisson jumps and a deterministic jump frequency function $\lambda(t)$. The function should follow the following stochastic differential ...
2
votes
0answers
116 views

Control Variate Barrier Basket Option

I need to improve the speed of convergence of PRNG Monte Carlo. I'm opening a new thread for that purpose and I have question / need confirmation about the algorithm. I'm pricing options with Heston, ...
2
votes
0answers
265 views

Quasi Monte Carlo method and Heston model

I want to run a quasi monte carlo simulation for Heston model in matlab. Obviously there exists a lot of literature regarding the theoretical aspects of the topic, for example by Baldeaux and Roberts, ...
2
votes
0answers
107 views

Monte Carlo Simulation of Spread Strategy. Two correlated assets vs One spread simulation?

I am trying to simulate paths of a certain spread strategy such as a calendar spread between two futures ( May Crude vs Aug Crude) using a Monte Carlo simulation. My questions is there a difference ...
2
votes
3answers
238 views

Non-convergence in Monte Carlo

Trying to implement some monte carlo simulation for the first time. For the sabr model (http://www.javaquant.net/papers/managing_smile_risk.pdf), would this work? Here, a = volatility of volatility, ...
2
votes
0answers
106 views

Monte Carlo approach to RAN bonds in Quantlib or suggestions

This is a problem from Schlogl's book in the chapter on the HJM model: Price option of the RAN instrument with 3 month coupons and maturity 3 years using Monte Carlo(Exercise 4 Range Accrual Note). ...
2
votes
0answers
404 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 ...
2
votes
0answers
1k 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-...
2
votes
0answers
1k 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
340 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 ...
2
votes
0answers
103 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
1k 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) = E[exp(-...

1 2 3
4
5
8