Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
77 views

Least Squares Monte Carlo

Could you explain to me in words (no formulas) the concept of the Least Squares Monte Carlo method to price an American style option?
0
votes
0answers
31 views

Extreme Value Simulation from Copulas with Monte Carlo

I'm trying to simulate the tail values from a multivariate distribution using copulas. I'm using Vine Copula package of R to derive the suitable copula for my data and I generate random samples out of ...
0
votes
0answers
24 views

Solving the sde under the Bates Model

Can someone please help me to find a way to simulate or find an approximation for the sde? So far, I've come across some research papers that use the 'Markov Chain Monte Carlo' method. But are there ...
0
votes
0answers
32 views

Approximation of portfolio VaR (after mapping) when Delta and Gamma both equal zero

As titled, I am having trouble estimating the VaR of a portfolio mapped as a function of a single risk factor $S$, in the form : $$V(S) = S^3 - 30S^2 + 300S + 150$$ with current value $S = 10$. $S$...
0
votes
0answers
14 views

Longstaff Schwartz with future conditional coupons

I've implemented the L-S algorithm for a simple put option. I want to value a more complex derivative which has future conditional coupons which only occur if the option is in the money. How would I ...
0
votes
1answer
45 views

Multi-legged Swap pricing

can anyone guide me how to price a multi-legged swap and whether I need Monte Carlo / LMM based approach or if there is a closed form solution. Receive leg "Libor 3m +1%" Payment leg If Libor is ...
0
votes
0answers
27 views

Using Non-Risk Neutral (Risk Natural) Parameters to Price Options?

Please correct me if any of my following statements are false. My understanding as to why we use Risk Neutral Analysis is that it makes life easy, and ultimately, allows use to come to a closed form ...
2
votes
0answers
37 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$ ...
0
votes
1answer
47 views

Generate scenarios of multiple related parameters

Assume I have three industry datasets: interest rates, inflation and unemployment. Data contains information of last ten years and it's monthly. Now, I would like to create N possible scenarios of ...
0
votes
0answers
42 views

How can I manually calculate the VAR of a call and put portfolio?

How would I solve the following question? Im unsure how to estimate the stock price using MCS.
0
votes
3answers
66 views

Python libraries for Monte Carlo simulations?

I am learning about monte carlo simulations and I have found many blogs explaining its implementation in python. Because its a widely known and an important technique for structuring asset prices. I ...
1
vote
1answer
67 views

Ho-Lee short rate model under the Heath-Jarrow-Morton framework

Under the Heath-Jarrow-Morton (HJM) framework the dynamics of the Ho-Lee short rate model are defined as following: $$dr(t)=\theta(t)dt+\sigma dW^{\mathbb{Q}}(t)$$ with $\mathbb{Q}$ the risk-neutral ...
1
vote
0answers
46 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 ...
2
votes
1answer
66 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 ...
1
vote
1answer
114 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 ...
0
votes
0answers
41 views

Using variance reduction on only some models

I am pricing options with some copula based models using Monte Carlo simulation. I was looking up some easily implementable variance reduction methods and decided on antithetic variates. However, ...
1
vote
0answers
60 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}} \...
3
votes
1answer
156 views

Implied volatility in Monte Carlo models

Suppose I want to get the implied volatility for a given option, whose process does not generate a closed-form formula. In that framework, how is the IV calculated, given the fact that bisection ...
1
vote
1answer
117 views

Hull white model Monte Carlo simulation Zero Coupon Bond

I am trying to use Hull White Model to price a zero coupon bond by Monte Carlo Simulation. The basic idea is under this equation: Under Hull White Model, I want to generate every short rate (r) and ...
4
votes
0answers
70 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 &...
5
votes
2answers
126 views

Do correlated assets affect the price of a portfolio of derivatives?

I need to compute the value at risk of a given portfolio as an exercise for a class at university but I have trouble understanding how correlated assets affect the price of the portfolio. Could you ...
1
vote
1answer
100 views

How can I conduct a basic Monte carlo simulation on 2 stocks?

I have 2 stocks in my portfolio A and B.A is currently at 50 dollars and B at 40 dollars. Correlation between A and B is 0. Let us say I bought the stocks today at 50 and 40 dollars. If I wish to use ...
0
votes
1answer
98 views

Monte Carlo computational cost

Hello. I'm reading the above paper and I do not understand how they managed to solve eq (17.35) -- i've seen many papers skip through this as trivial and didn't bother to show the method to get there. ...
4
votes
1answer
93 views

Monte Carlo for Asian Pricing

I'm trying to verify the accuracy of my Monte Carlo method for pricing mean options. I came across this paper that supposedly gives an 'exact' solution for the arithmetic mean option (asian). It's a ...
2
votes
2answers
95 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-...
3
votes
1answer
138 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 ...
2
votes
0answers
95 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 $$...
1
vote
0answers
99 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
1answer
88 views

How to calculate mean and volatility parameters for Geometric Brownian motion?

Say I have a time series $S_K$ for monthly asset prices for the last 30 years. I want to run a monte carlo simulation using geometric brownian motion $$S_t = S_0\exp\left(\left(\mu - \frac{\sigma^2}{...
2
votes
1answer
65 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 ...
1
vote
0answers
16 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 ...
0
votes
1answer
61 views

Monte Carlo simulated price and Black Scholes Price are giving a huge difference in my Matlab code

I have written a script for showing Monte Carlo Price for a increasing N. But comparing with BS results , This indicates a huge difference. Where is the error? Function : function [cpay,ppay] = ...
1
vote
0answers
68 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 ...
-2
votes
2answers
309 views

Least-Squares-Monte-Carlo by Neural Network Estimator for pricing American Option Python [closed]

First I did the LSM (Longstaff-Schwartz) to understand how its work to price an American option. code for standard_normal ...
2
votes
0answers
99 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 ...
3
votes
0answers
65 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,...
1
vote
0answers
18 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 ...
0
votes
1answer
74 views

Bayesian trade probability with factors

I have a strategy Y which is influenced by some factors X1, ..., Xn (for example asset volatility, distribution of macroeconomic factors). At moment t0 I have historical distribution(prior) of X1, ...,...
1
vote
2answers
67 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}$, ...
1
vote
1answer
98 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 ...
0
votes
1answer
71 views

How to price a barrier using monte carlo when return distribution is not iid?

this question is actually related to set the stop loss and stop return. Say after a liquidity shock, I want to place two stops, one being stop loss and another being stop return. If I use, say 10 ...
2
votes
0answers
75 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-...
1
vote
1answer
66 views

Computing Montecarlo VaR for a single asset

I'm trying to understand the procedure to compute the Value-at-Risk for a single asset by implementing the Montecarlo technique. Here it follows the procedure step-by-step in 5 points: selecting the ...
3
votes
2answers
166 views

SDE for option value

Given an SDE for an underlying: $$dS(t) = \mu(S,t)dt+\sigma(S,t)dW(t)$$ the SDE for the value of the option $V=V(S,t)$ is given via Ito's lemma as: $$dV = V_tdt+V_S\mu(S,t)dt+\frac{1}{2}V_{SS}\...
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 ...
0
votes
1answer
131 views

Asset price simulation under Monte Carlo for option pricing using market data

I am trying to use Monte Carlo to price some exotic options. I have in mind to simulate asset prices under GBM (say S&P prices) using Monte Carlo and price the option accordingly from the payoffs ...
1
vote
0answers
61 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 ...
2
votes
1answer
82 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
0answers
84 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, ...
0
votes
2answers
228 views

Quasi Monte Carlo

I read several articles regarding quasi Monte Carlo algorithm with Sobol sequences but I still have questions. I implemented MC simulations with an ordinary random generator in matlab. I'd like to ...