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.

85 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13
votes
1answer
544 views

Consistency of economic scenarios in nested stochastics simulation

I am interested in references on research regarding the consistency of economic scenarios in nested stochastics for risk measurement. Background: Pricing by Monte-Carlo: For pricing complex ...
5
votes
0answers
443 views

(C++) Monte Carlo pricer for SABR model to test Hagan / Paulot formulas

I'm trying to test the so-called Hagan formula (p.6 of this paper) and the Paulot formula, order 1 only (eq. (43) p.19 of this paper. For this, i'm trying to use both Euler and Milstein scheme ...
5
votes
0answers
79 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. ...
4
votes
0answers
94 views

Numerical simulation of Heston model

I am trying to simulate on Python random paths for a general asset price as described by the Heston model: \begin{equation} \begin{aligned} dS_t &= \mu S_t dt + \sqrt{\nu_t} S_t dW^S_t \\ d\nu_t &...
3
votes
1answer
167 views

Monte Carlo Method for American Call Option (No Dividends)

I tried to pricing the American Call option using "Longstaff-Schwartz" least squares method. However, I found the American call option is always lower than the Monte Carlo European call option (they ...
3
votes
0answers
66 views

Solving BSDE in R

I was wondering how to implement a BSDE approximation in R. For example, if I have the toy BSDE $$ dX_t = \mu dt + \sigma dW_t ; X_T\sim N(\mu_1,\sigma_1), $$ for fixed real numbers $\mu,\mu_1,\sigma,...
3
votes
0answers
1k views

Jamshidian's trick for Swaptions

Following Brigo$^1$ p.77, we can decompose the price of a swaption as a sum of Zero-Coupon bond options (Jamshidian's Trick). To do so, the authors suggest to find $r^*$ the value of the spot rate at ...
3
votes
0answers
86 views

Intraday Value at Risk approximations

We use full valuation of derivatives portfolios using scenarios from historical data. For simple contracts, this is relatively fast. For contracts requiring monte carlo simulation, this becomes ...
3
votes
0answers
830 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 ...
3
votes
0answers
117 views

Optimizing stochastic functions numerically

Is there an efficient and commonly used optimization method for "more complex" investment strategies. For instance, say you have a function $f(X_1,...,X_n,c,v)$ where the $X_k$'s are your random ...
2
votes
1answer
98 views

Local Volatility with Monte Carlo Simulation

I am trying to implement a Monte Carlo Simulation using Local Volatility Model (Dupire’s Equation). I’m pretty sure I can build a very good LV surface, however, I do not know how to use it in the MC ...
2
votes
0answers
40 views

Accuracy of Euler Monte Carlo discretization without knowing exact solution?

By using Euler Monte Carlo discretization (for a Hull-White model) we simulate $$r(t+\Delta t)=r(t)+\lambda(\theta(t)-r(t))\Delta t+\eta\sqrt{\Delta t}Z$$ with $Z\sim N(0,1)$, $\lambda$, $\eta$ ...
2
votes
0answers
132 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
122 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
87 views

How can I estimate the time-varying θ term in the Hull-White one factor model?

I am trying to simulate the prices of bond indexes (e.g. Barclays Aggregate, IBOXX sovereign, IBOXX corporates) using Monte Carlo assuming that they follow the SDE given by the Hull-White model (one-...
2
votes
0answers
95 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
2answers
153 views

How to interpret and define statistics of GBM output

I am trying to model the future prices of a number of commodities. For this, I am applying geometric Brownian motion, writing a Monte Carlo code in Python. Given that I want to estimate tommorows ...
2
votes
2answers
376 views

Monte-Carlo simulation Hull-White process: physical and risk-neutral measure

From Monte-Carlo simulation Hull-White process I get paths in risk-neutal measure. How can I get paths in physical measure?
2
votes
0answers
188 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
102 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
0answers
89 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
890 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
289 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
100 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
916 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(-...
2
votes
0answers
3k 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
1answer
51 views

Simulation scheme for SABR beside the standard Euler discretization

QUESTION: Beside Euler Scheme, is there another more robust (and preferably easy to implement) way to simulate asset path with SABR dynamics? Simulation that will withstand even for high volatilities....
1
vote
0answers
48 views

Multiple layer Monte Carlo Option pricing

I have simulated 10000 price paths from the SVCJ model under $\mathbb{Q}$ from $S_{t0}$ until $S_{tm}$ and have computed one discounted option price $C_t$. I want to compute the numerical simulated ...
1
vote
1answer
230 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 ...
1
vote
0answers
95 views

Geometric Brownian Motion with Dividends

I am working on a problem and had a quick question. I understand that for Geometric Brownian Motion we use the formula: $$X_{t_n} = X_{t_{n-1}} + \mu X_{t_{n-1}} \Delta t + \sigma X_{t_{n-1}} \...
1
vote
0answers
101 views

Ultra Powerfull Vibrato Montecarlo for delta sensitivities of a not regular payoff

Ciao, I am working on a derivative with the following payoff at time $T$: $$ \sqrt{(S_T - K)^+} $$ where $S_T$ is the value of the stock at the expiring date. As usual we will assume $S_t$ to be a ...
1
vote
0answers
17 views

Benchmark values for exotic options with highly nonlinear boundaries

I have created some modifications of least squares monte carlo algorithm for pricing american options which gives me lower and upper bound. Now I want to test how good it works for options with highly ...
1
vote
0answers
85 views

Monte Carlo VAR with differente asset classes

I have found a very useful post regarding the use of Monte Carlo simulaton to obtain portfolio Value at risk, based on Cholesky decomposition, random variates, etc. This post I'm talking about is: Is ...
1
vote
0answers
19 views

Asian basket option variance reduction control variates monte carlo

I have priced an Asian put option with three underlying correlated stocks. Now I want to try to reduce the variance using control variates. I have found great ideas when there is one underlying (thus ...
1
vote
1answer
105 views

Simulating assets of different currencies

I have a situation as follows: One year call option on a Euro stock with a Euro denominated strike. Knock in feature as follows - The option can only pay out if the growth in the Euro stock over ...
1
vote
0answers
31 views

Determining the Relationship Between Monte Carlo Breaks and Model Volatility

I'm looking for a statistical test to understand the relationship (if any) between the model volatilities of a stochastic process, and the occurrence of 'break', defined as the instance when an ...
1
vote
0answers
64 views

Importance sampling procedure

I need someone to explain me the importance sampling method. There are several topics but the drift parameter $\theta$ when adjusting is never discussed. I read publications where $\theta$ was used ...
1
vote
0answers
86 views

Pricing a Path-Dependent Option with Heston

I want to price a path-dependent option (let's say for example an arithmetic average Asian option) under a Heston model. In a Black-Scholes setup, I use forward volatilities to do so. I want to apply ...
1
vote
0answers
108 views

Modelling VIX futures backwardation

I have VIX futures trading algorithm and would like to perform Monte-Carlo simulation of VIX and understand how my algorithm performs on each simulation. In this case, not only VIX should be modeled, ...
1
vote
0answers
273 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 ...
1
vote
0answers
89 views

Monte Carlo Simulation of correlated returns based on different frequencies

I am simulating through Monte Carlo, multivariate correlated returns of different products composing an Oil&Gas portfolio. The historical prices (from which I computed the log-returns) of the ...
1
vote
0answers
59 views

Monte Carlo Pricer for Express Certificate delivers wrong price [Mathematica]

So I wanted to price the following Express Certificate with this specific payout structure: If S1 > S0 -> 105.25 , else -> If S2 > 0.95*S0 -> 110.5 , else -> If S3 > 0.9*S0 -> 115.75 , else -> If ...
1
vote
0answers
46 views

Low estimator when valuing american option using Broadie and Glassermann Monte Carlo tree with antithetic branching (R)

I've been looking into Monte Carlo methods for valuing american options. Now, I found an R code by Stefano M. Iacus that values the option using a tree (based on Broadie and Glassermann) without use ...
1
vote
0answers
106 views

The last step of the Longstaff-Schwartz method

I'm reading An analysis of the Longstaff-Schwartz algorithm for American option pricing, by Clement, Lamberton and Protter. They define the stopping times (top of page 4) $$ \tau_j^{[m]} = \begin{...
1
vote
0answers
88 views

Monte Carlo convergence sample size

I'm studying Monte Carlo analysis but I find very counter-intuitive the computation of the minimum sample size in order to reach a certain level of precision. As stated in ...
1
vote
0answers
40 views

Model for target zone exchange rates

I just found a stochastic model for target zone exchange rates $x_{t+1}=x_t+k+r(x_t-y)+ \tilde{\epsilon}$ where k is a drift term so equal $r-r_f$ r is lean againt the wind coefficient that ...
1
vote
0answers
159 views

Pricing Asian option at discrete times

I hope you can help me again regarding pricing an arithmetic Asian option. Asumme we have a time grid $(0=t_0,t_1,t_2=T)$ and we buy an Asian option at time 0 and the maturity is at T. Now we would ...
1
vote
0answers
225 views

Monte Carlo simulation implementation

This question relates to credit portfolio analysis. I was asked by my teacher the following question : Why would a bank use MC simulation in the implementation of the covariance model (a bottom-up ...
1
vote
0answers
407 views

Pricing back swaptions corresponding to underlying swaps of Bermudan Swaption in calibrated LMM

I do not know to which swaption volatility matrix I have to calibrate the LMM in order to price back correctly the swaptions corresponding to the underlying swaps of a Bermudan Swaption. My problem: ...