# Tagged Questions

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

144 views

### Pricing a log-contract using Monte Carlo

Having a payoff of log-contract defined as $$\Pi_T = \ln \left(\frac{S_T}{S_0} \right)$$ How would you express the MC-estimator for the price of this contract? The stock price dynamics here is ...
366 views

67 views

### Choice of time increment in Monte Carlo/ Geometric Brownian Motion (GBM) stock price prediction

I am playing around with writing a daily stock price prediction algo in Python using a Monte Carlo/GBM methodology. I know there are many other questions on here about this topic (here, and here), but ...
86 views

### Is This A Viable Alternative Options Pricing Method?

i'm currently a high school student who hasn't gone past Algebra II, and thus I have minimal Calculus knowledge. I know the basics of Integration and Derivation (drop the coefficient, raise to the ...
96 views

### Why do we need correlated random variables in a Monte Carlo simulation?

Question: I don't understand why a Monte Carlo simulation needs correlated random variables. Isn't each simulation thread independent? Background: Specifically, I'm referring to the below example on ...
153 views

### What is wrong in this GBM simulation?

I am trying to generate a few samples of GBM using the following very simple MATLAB code: ...
386 views

### Monte Carlo for MultiFactor Ornstein Uhlenbeck

I'm following loosely the exposition given in "Monte Carlo Methods in Financial Engineering by Glasserman. For a multifactor OU process: $dX(t)=C(b-X(t))dt+DdW(t)$ Where C and D are d*d matrices ...
223 views

### Picking from two correlated distributions

Can anyone provide a simple example of picking from two distributions, such that the two generated time series give a specified value of Pearson's correlation coefficient? I would like to do this in ...
133 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 ...
118 views

### Sobol numbers in monte Carlo simulation

I wanted to figure how how much faster the Sobol quasi random numbers convergence to the B&S call price compared with pseudo random numbers. To generate the Sobol numbers I used the randtoolbox in ...
118 views

### QuantLib C++: Monte Carlo Engine with SequenceStatistics

I'm trying to implement a Monte Carlo PricingEngine that stores multidimensional statistics. I have done the following: Defined a Monte Carlo Trait that among other things stores as the ...
106 views

### Evaluation of the semi-closed Heston pricing formula for call options

I'd like to know, how the integral part of the semi-closed Heston pricing formula for call options can be simulated for a given set of model parameters. Monte Carlo simulations shoud work for this ...
61 views

### How do you deal with Inflation lag in a MC simulation?

Consider the UK RPI index. This index is published every month around the 15th (give or take a few days). The publication refers to the RPI index of the month before, so there is a lag of a few weeks ...
350 views

### How to simulate a CIR process using GPU and Matlab

I am trying to simulate a CIR process using Matlab and my GPU for effeciency. At the moment i run into some implementation problems due to the recursive nature of the discretization. The sheme I ...
216 views

33 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). ...
77 views

### Importance Sampling for Least Square Monte Carlo

I am currently trying to implement and model an Importance Sampling estimator for Longstaff and Schwartz algorithm for pricing American put options. It is used such that more paths are in-the-money ...
45 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 ...
592 views

### Portfolio Optimization with Monte Carlo Simulation - How to do it with Excel?

If I have three asset classes and their historical weekly returns for five years, how can I construct a minimum variance portfolio and an efficient frontier plot with Excel? To do that do I have to ...
382 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 ...
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 ...