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
1
vote
0answers
113 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
63 views

Optimal number of simulations for Monte Carlo [duplicate]

I am building a Monte Carlo simulation model for thousands of stocks. I am wondering is there a closed-form formula I can use to determine the optimal or at least minimum number of simulations need to ...
1
vote
0answers
75 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
57 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
122 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
97 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
41 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
208 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
236 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
473 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: ...
1
vote
0answers
115 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
364 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
36 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 \! \frac{\...
1
vote
0answers
324 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
565 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
486 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
44 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 method....
1
vote
0answers
238 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
21 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
599 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
105 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
65 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
159 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
5answers
2k 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 ...
0
votes
2answers
173 views

Python Monte-Carlo Convergence

Edited to include VBA code for comparison Also, we know the analytical value of the simple Call option, which is 8.021, towards which the Monte-Carlo should converge, which makes the comparison easier....
0
votes
1answer
250 views

Euler discretization

I have been told that the Euler discretisation is exact for the GBM process.Is it true and how can I proof this? This would mean, for a GBM process, if I am increasing my discretisation step, the ...
0
votes
3answers
486 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
645 views

Generally how to simulate bivariate (or multidimensional) BM sample paths?

A topic I am struggling with is the implementation of a (for the simplest higher dimensional case) bivariate normal distribution simulation for geometric brownian motion. The clearest explanation by ...
0
votes
1answer
836 views

Monte Carlo simulation and Black Scholes give different results in my code

I am a student, so please don't judge me for stupid questions. I'm writing a code to valuate call option (based on random geometric Brownian motion) using Monte Carlo Simulation and Black Scholes ...
0
votes
2answers
772 views

Black scholes model for down and out European call option using Monte Carlo

I tried to implement Matlab program computing the price of the European down and out call option using Monte Carlo and Euler discretization scheme. I have initial price S0=50, strike K=50, barrier ...
0
votes
1answer
6k 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
1answer
93 views

Does anyone have any suggestions on using Monte Carlo simulations to calculate Greeks of basket option?

I'd ideally like to use algorithmic differentiation or finite difference methods to approximate the Greeks of a basket option. It would be a European style basket on $N$ stocks with the payoff being $\...
0
votes
1answer
56 views

Correct way to calculate interest rate volatility for risk calculations

I'm trying to include interest rate derivatives in some Value at Risk calculations and am having trouble getting trustworthy values. My current approach is to look at the appropriate risk factor for ...
0
votes
1answer
42 views

Is the differential between risk free rates the drift of an exchange rate only in the risk neutral world?

Take for example this passage from "Monte Carlo Methods in Financial Engineering". Is this a result of the risk neutral world or is this the real world drift as well? I've never seen the explicit ...
0
votes
2answers
146 views

How do you calculate value at risk on a portfolio of fixed income instruments

I'm curious about this question both for a parametric "Delta" style approach and a Monte Carlo full revaluation approach and I will lead one question into the next. Taking the "Delta" approach first. ...
0
votes
1answer
58 views

Sample path simulation using two random variables

I was wondering if there is a way of generating a sample path of a Geometric Brownian Motion using two independent standard normal random variables instead of just one. The exact scheme that uses ...
0
votes
1answer
53 views

Generate Random Variable Using Acceptance Rejection Method

I have a question about acceptance rejection method and really appreciate your advice: Suppose we want to generate random variable that has probability density function $f(x)$, since we're using ...
0
votes
1answer
123 views

Basic Monte Carlo Present value calculation in R question

I'm self studying monte carlo applications with the application towards present values. However the values that I am using are of the uniform distribution variety with a pre defined minimum and ...
0
votes
1answer
59 views

Quantile with periodic investing

Short Version Can I get a quantile of such an expression? \begin{equation} \sum_{k=1}^{n} A_k\exp(\mathcal{N}(t_k\mu-\sigma\sqrt{t_k}/2,\sigma))) \end{equation} I know I can do it for one part of ...
0
votes
1answer
113 views

Simulating a stock price with Monte Carlo - Why my solution isn't equivalent to the author's

I am self-studying and I am working on the following problem: My solution is different and I'm arriving at a different answer: The parameters of the lognormal random variable $S_t/S_0$ are: $$m = \...
0
votes
1answer
136 views

Mean-Var optimisation of Monte Carlo simulated model

I have a problem which involves optimisation of a portfolio containing one stock and multiple call options written on it, with the same maturity and different strikes. In order to use optimisation ...
0
votes
2answers
149 views

Stochastic Simulation vs percentile-to-percentile map

I was wondering why someone would go to the trouble to generate random variables in scenarios that are not path dependent. Let me provide a simple (although somewhat contrived) example. Lets say that ...
0
votes
2answers
818 views

How to price exotic options using Monte-Carlo?

I am actually trying to solve some exercise problem using Monte-Carlo and C++ for exotic options. Namely, the exotic options are geometric Asian options and discrete barrier option. It is claimed ...
0
votes
1answer
52 views

When pricing with Monte Carlo using market prices, should we use only the first price or all the prices to create the paths?

I have a vector $S=(S_0,S_1,...)$ of monthly oil spot prices and for each of them I have to compute, using Monte Carlo, the price of the forward contract having it as underlying asset. The equation ...
0
votes
1answer
59 views

Heston Discretization dt

I’m trying to figure out the discretization of the Heston model. In the choice of dt, I have seen several ways that people specify this number. Would it not just be ...
0
votes
2answers
59 views

Issue in Pricing Binary Options using Heaviside Function and QuantLib Python

I am trying to price binary option using MC Simulation and Python QuantLib Library. The price of the option matches with the Analytical Engine. However, I am not sure how to incorporate the Heaviside ...
0
votes
1answer
33 views

Issue in Pricing Barrier Options using MCBarrierEngine in QuantLib Python

Extremely sorry for bugging the community again, but I am struggling with finding proper documentation of QuantLib Python. I am trying to price Barrier Option using MC Simulation. Here is the code: <...
0
votes
1answer
80 views

Monte Carlo approach and methods for generating random returns

Recently I found myself reading more about Monte Carlo approach in m.v. portfolio optimization framework. I already discuss the topic on this forum (if interested please consider the following links - ...
0
votes
1answer
74 views

MonteCarlo Value at Risk for a bonds portfolio

As mentioned in the title, I am trying to calculate MC VaR for a portfolio consisting entirely of bonds. I already modeled the zero curve using Vasicek and Cox,Ingersoll & Ross models. Next steps ...
0
votes
1answer
39 views

How are non-equity derivatives handled in monte carlo Value at Risk simulations

If you have a portfolio of stocks and options it's straight forward enough to generate correlated stock paths and evaluate the positions at the end of the time horizon, but what do you do if your ...

1
5 6
7
8 9