# Questions tagged [simulations]

The tag has no usage guidance.

156 questions
Filter by
Sorted by
Tagged with
204 views

### Difference between cross-validation, backtesting, historical simulation, Monte Carlo simulation, bootstrap replication?

To determine if a strategy is better than others, or to optimize the parameters of a model, the following statistical techniques are often employed, often one over the others instead of altogether. ...
443 views

### Risk Neutral and Real World Valuations using Monte Carlo

Assume I'm an investor that wants to sell exotic put options. No one else is selling my kind of put option, so I need to determine my own "Market Price" through Monte Carlo simulation. I know that by ...
87 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 ...
50 views

### Negative Libor Simulation

Can LIBOR rates be simulated using short rate models? If no, what is the reason behind it? What is a simple model to simulate LIBOR rates? Especially in a negative rate environment.
58 views

475 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 ...
137 views

128 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 ...
43 views

### In CVA simulation, timesteps vs number of simulations?

On a CVA system with limited computational power. For pricing, What is best, More timesteps and less number of simulations or less timesteps and more number of simulations? for example with a whole ...
23 views

### Simulating Taxed Equity Return Series (U.S.)

I'm looking to learn how to correctly simulate taxes on dividends and capital gains on simulated return series for U.S. Equities with dividend reinvestment. I understand I will have to keep track of ...
102 views

### Distribution of data for GBM

I am running some Monte Carlo simulations with GBM on time series of commodity prices. First of all, the price data is annual between 1900-1950. I would firstly like to know if it is bad practice to ...
82 views

I want to simulate real time trading strategies. For simplicity, let's say I only want to simulate a long-only portfolio on S&P500. I have a couple of questions: Is there a place online where ...
193 views

### How to simulate this Gamma expansion in a Python way

Here is the simulation that I want to do: For each of the 10 million simulation paths, I have n = 100 lambda values in sequence (the lambda vector is the same for all paths), Using each of the lambda ...
81 views

### Generating Correlated Quasi Random Numbers

Hi I am trying to generate correlated quasi random numbers using a sobol sequence in matlab. My Problem is the Following: Using "standard" random numbers it is easy to generate the 6 correlated random ...
207 views

### How to model High/Low prices for Stocks with Monte Carlo

I'm using monte carlo simulation to model stock paths and measure risk, but I was wondering if there is a way to simulate the full bar/candle chart with open, high, low and close prices , as I'm only ...
173 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 ...
98 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 ...
1k views

### Monte Carlo - Multivariate Simulation of Returns

I am implementing a Monte Carlo simulation in R to generate multivariate correlated returns. In doing this I have used the Cholesky decomposition, applied to the covariance matrix. However, I saw that ...
39 views

### Bootstrapping to Judge the Fit of a Sampled Return Distribution

Consider the following: I have sampled yearly stock returns from a specified distribution. What I want to do is compare how well my sampled distribution fits the empirical distribution of yearly ...
96 views

I've made a mistake in the implementation of Pykthin Multi-factor adjustment which I'm fairly certain comes from me not understanding the model completely. The model was developed to drastically ...
171 views

### Simulate double exponential process with correlated jumps?

So, I'm trying to simulate a correlated double exponential jump process for two assets, and I understand the pure exponential jump process ($\eta_1$ and $\eta_2$, the probability of an upward jump ...
195 views

### Open Source library for calculating exposures?

I would like to know an open source quantitative library/ies that can calculate exposures out of the box (I have investigated a bit on OpenGamma/Strata libraries with no luck and the website of ...
1k views

### Simulating a path of bond yields by Monte Carlo (Python)

I have a number of given time series for bond yields (given in a dataframe in pandas package in Python). I need to do the following task in Python: "1. Simulate 1000 path 30 steps ahead for any yield ...
403 views

### How to sample from a copula in matlab

I have two random variables (say, X and Y). Each of these rv's are defined by their CDFs (CDF_X and CDF_Y). These CDFs were obtained empirically, so they are a "stair" graph. I also have a copula C ...
362 views

### Terminal Variance in the Heston Model

I am trying to understand the basics of financial models. Random Walk as a model for asset prices. We use gaussian random numbers to generate a Gaussian Random walk. The variance of the terminal ...
101 views

### time step choice impact in Vasicek model simulations

I am trying to make some computations using Vasicek short rate model. Especially I a trying to compare exact expectation(obtained with the formula) and the expectation from Monte Carlo simulation. ...
66 views

### Equity Options - “How do I build a forward simulation model with regards to shocks in spot pricing and IV?”

I am trying to build a "What-If" Portfolio, consisting of a total of 20 options, across different tenors, strikes (delta), but on the same security. Simply put, the objective is for me to test the ...
428 views

### Books about Monte Carlo Simulation on derivatives with Python

I am looking for a good reference for Monte Carlo simulation applied to derivatives with Python. Most books I found until now deal with C++... I have found "Derivatives Analytics with Python" by Yves ...
910 views

### How are Brownian Bridges used in derivatives pricing in practice?

A similar question has already been asked in the past, unfortunately the 2nd question of the OP was never really addressed. Most references found on internet on Brownian Bridge and Monte-Carlo ...