The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
14 views

Correlate the G2++ with a GBM model

In Matlab one can use the LinearGaussian2F function together with the simTermStructs function to create a simulated zero curve based on the G2++ model. Next to simulating the interest rates I need to ...
1
vote
0answers
10 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 \! ...
1
vote
0answers
86 views

Generating financial data

I am trying to generate monthly stock data using a one-factor model: $$R_{a,t} = \alpha + BR_{b,t}+\epsilon_{t}$$ The description says: $R_{a,t}$ is the excess asset returns vector, $\alpha$ is the ...
1
vote
0answers
36 views

Simulating returns from ARMA(1,0)-GARCH(1,1) model

I want to obtain a simulation of one-step ahead forecasts of stock returns process governed by ARMA(1,0)-GARCH(1,1) process. The returns are of form: $x_t = \mu + \delta x_{t-1} + \sigma_t z_t$ From ...
4
votes
2answers
108 views

Geometric Brownian Motion - increasing simulations or smaller step size

I am running Monte Carlo simulations to estimate future share prices of some stocks. For stock A, I need 1 share price exactly one year from now. For stock B, I need daily prices for each trading ...
0
votes
0answers
16 views

SAS code for Brownian Motion

I want to simulate call options using monte carlo algorithm. I am a noob SAS user but i know that i need to: -simulate random stock prices with no dividend in respect to different ...
0
votes
0answers
19 views

CIR model, realistic parameters and usage

I'm currently working on SDE's, in particular with mean-reversion processes like CIR and Vasicek. The definition of the CIR model is \begin{equation} dX_t = \kappa(\theta-X_t)dt + \sigma ...
0
votes
1answer
23 views

Deduce expected exposure profile from option/structure delta?

I am thinking about whether there exists a relationship between the delta of an option (or any structured derivative) and it's expected positive/negative exposure? An intuitive question would be ...
2
votes
1answer
45 views

simulation and timestep

Suppose I have a stochastic process i.e. a Vasicek process with parameteres estimated with monthly (RW measure) data and want simulate the process using a daily timestep. Is this a good practice?
3
votes
2answers
83 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 ...
2
votes
0answers
58 views

Long-term proportion of convex and concave strategies in artificial financial markets

In their classic paper "Dynamic Strategies for Asset Allocation" Perold and Sharpe state: "That convex and concave strategies are mirror images of one another tells us that the more demand there ...
3
votes
2answers
103 views

How to discretize a GBM under P- and Q-measures?

Under the P-measure, a geometric Brownian motion can be specified using the following SDE: $$dS_t=\mu S_tdt+\sigma S_tdW_t^P$$ and its Euler discretization is $$S_{t+\Delta t}=S_t + \mu S_t \Delta ...
1
vote
0answers
47 views

What are commercial impact models and transaction cost analysis models out there for simulation?

I have heard that ITG, LiquidMetrix, MarkIT and TradingScreen has good Transaction Cost Analysis (TCA) research. I wonder which firm one would choose to have an impact model formula inside his ...
3
votes
1answer
100 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 ...
1
vote
0answers
134 views

Monte Carlo, convexity and Risk-Neutral ZCB Pricing

I've built a simplistic Excel monte carlo model to price a zero-coupon bond, but it came up with a slightly unepxected result so I wanted to confirm whether my maths is just a little rusty or my model ...
3
votes
0answers
81 views

How does one simulate intraday strategies which don't end up flat at the close?

I ran into this trying to simulate trading interlisted names between the NYSE and the TSX. Depending on my strategy parametrization it would sometimes end up with a significant short or long dollar ...
0
votes
1answer
44 views

Should earnings be modelled normally or lognormally?

I am having difficulty deciding whether a company's earnings should be modelled normally or lognormally. If we consider two arguments: (i) The earnings of a company are the returns on the assets of ...
3
votes
1answer
125 views

Extended CIR and discretization

Did someone know how to discretize this process efficiently : $dX(t) = \kappa [\theta(t)-X(t)]dt + \sigma \sqrt{X(t)}dW(t)$ I am looking for something more sophisticated than the trivial Euler ...
5
votes
1answer
130 views

Simulate (imaginary) asset prices using random numbers that follow a Frank Copula

I didn't understand how to simulate asset prices by using non normal random numbers. I am assuming that it would be incorrect to use the standard Geometric Brownian Motion, since it is based solely ...
0
votes
1answer
53 views

Simulating a GBM with martingale condition - Ito process moving downwards

I want to correctly simulate a $\mathcal{Q}$ - martingale $S$, which is a geometric Brownian motion and an exponential of a process $X$, \begin{equation} X_t = X_0 + \mu t + \sigma B_t = X_{t-\Delta ...
3
votes
1answer
131 views

Simulating Brownian motion with jumps

I am trying to improve my understanding of jump processes. As a first step, I want to simulate sample paths for the process $$dX(t) = dw(t) + dJ(t)$$ where $dw(t)$ is a Brownian motion and $dJ(t)$ ...
1
vote
1answer
124 views

Getting Parameter of Translated Gamma Distribution from Monte Carlo

Spin-off from here. (Edit) Main question: What do I do about a parameter whose suggested values range quite vastly? (Edit) Backstory: I am given data of loss values and the dates that correspond to ...
1
vote
1answer
54 views

Compute moments of aggregate loss using Monte Carlo

Spin-off from here. Richard referred to me an article that tells me how to get parameters of a translated gamma distribution to which I should consider fitting simulated aggregated loss values. The ...
2
votes
1answer
142 views

Simulating Stock's close, high and low prices

I am testing a model in which I need to simulate closing, high and low prices (i.e. 3 dimensions of prices) of any given stock. Using the simple Geometric Brownion Motion equation I can easily ...
1
vote
1answer
250 views

Get distribution for aggregate loss using Monte Carlo

I am given two data sets containing dates and losses (in some currency). Given a distribution for the amount of losses and an (a,b,0) distribution for frequency of losses, how can I use Monte Carlo ...
1
vote
0answers
89 views

Review of Excel Stock Simulator

I am currently a senior in high school and I built a stock simulator using knowledge gained from a semester of AP Statistics. I was wondering if someone could tell me if my simulation is ...
0
votes
0answers
51 views

What interest rate dynamics would you suggest to simulate a single swap?

I need to calculate the Potential Future Exposure (PFE) for a single swap (not a portfolio). As far as I know, a stochastic model is needed to simulate the interest rate curves (from here). Could ...
2
votes
1answer
167 views

UST Yield Curve Forecasting - Bond Structure Testing

I have a project in mind that I am working on, but have little idea where to start. I am a relative newcomer to python (about 1 years exp.) and limited knowledge of quant finance. What I would like ...
2
votes
3answers
442 views

Calibration of a GBM - what should dt be?

I have a time series of daily data that I want to calibrate GBM parameters $\mu$ and $\sigma$ to. Using the discretized solution $$ S_{t_{i+1}} = S_{t_i}\exp\left(\left(\mu - ...
3
votes
1answer
78 views

Copula- AR simulation

I am estimating different copulas for bond factors that i also fit AR(1) models on. Now i would like to test and compare durations and VaRs with my model vs empiric. But how can i simulate AR(1) ...
1
vote
1answer
261 views

Simulate non-stationary time series with cointegration

how can I simulate/generate two non-stationary time series (with unit root) so that they can be also cointegrated (using R or Matlab). Thanks in advance.
10
votes
3answers
1k views

Strictly local martingales: what is the intuition behind them?

A process $X_t$ is a local martingale if for each increasing sequence of stopping times $\{\tau_k,k=1,2,...\}$ the stopped process is a martingale. All true martingales are local martingales, but the ...
1
vote
2answers
254 views

Historic Value at Risk - Ratios vs. Differences

Quick Summary on Historic VaR Let $S_0,...,S_n$ be the daily values of some stock (where $S_0$ is the current value). Then for $i=1,\ldots,n$ we let $$\hat r_i:=S_{i-1}/S_i \quad \text{and}\quad \hat ...
0
votes
2answers
202 views

Getting the next price of a GBM with reversion

Here is the "twin" question of Getting the next price of a GBM (Geometric Brownian Motion) but for GBM with reversion As in that case, I'd like to write a formula for the next price, as function of: ...
0
votes
1answer
301 views

Getting the next price of a GBM (Geometric Brownian Motion)

I am writing a program that creates realizations of a GBM. Starting from an initial price, I get the following price with this formula: ...
5
votes
1answer
531 views

Kelly Capital Growth Investment Strategy (Example in R)

In the paper Response to Paul A Samuelson letters and papers onthe Kelly Capital Growth Investment Strategy pages 5 and 6 Dr William T Ziemba, gives a praticle example on Kelly Growth. I’m trying to ...
3
votes
1answer
337 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 ...
3
votes
2answers
684 views

When to use the real world drift and when the risk neutral one for a Monte-Carlo simulation?

Under what conditions should the drift be real world and when risk neutral when simulating Delta Hedging option pricing trading strategy any other? For 2. it should be risk neutral. For 1., it ...
1
vote
0answers
62 views

Order 1.5 strong SDE integration methods for systems with diagonal additive noise

I'm looking into simple-to-implement and efficient order 1.5 strong SDE integration schemes for my system. My noise is diagonal and additive (possibly time-varying). Thus methods designed for either ...
6
votes
2answers
234 views

Does GARCH derived variance explain the auto-correlation in a time series?

Given a time series of $u_i$ returns where i=1 to t. $\sigma_i$ is calculated from GARCH(1,1) as $\sigma_i^2=w+\alpha u_{i-1}^2 +\beta \sigma_{i-1}^2$ . What is the mathematical basis to say that ...
2
votes
0answers
91 views

Effective simulation of multi factor Heston model

Im looking for a quick way (as in runs quick, not necessarily is quick to implement) of simulating multiple square root processes for a stochastic volatility model, flexible enough to allow for ...
9
votes
1answer
352 views

Distribution of Geometric Brownian Motion

Please let me know where I have been mistaken! Let the SDE satisfied by the GBM $S(t)$ be $$ \frac{dS(t)}{S(t)} = \mu dt + \sigma dW(t). $$ Then, the underlying BM $X(t)$ will satisfy $$ dX(t) = ...
0
votes
1answer
451 views

How do I simulate stock prices for a 10 asset portfolio, over a period of 10 years in MATLAB? [closed]

If I have given vectors for return and volatility (i.e. I have two 1x10 vectors), and I assume at first that their correlation is 0 (meaning my covariance-variance matrix is just diagonal), how do I ...
4
votes
2answers
197 views

Random Brownian Simulation Startling Results

I was playing around in Excel the other day, simulating possible equity curve/P&L paths for a simple game I designed. The game is really trying to find an optimal risk managment strategy. I start ...
2
votes
1answer
221 views

SDE simulation: P or Q?

Let's take a GBM under $P$: $dS=\mu dt+\sigma dW_{t}^{P}$ and then under $Q$ $dS=r dt+\sigma dW_{t}^{Q}$, where $dW_{t}^{Q} = dW_{t}^{P} + (\mu - r)/\sigma dt $ Now, let's say that I have ...
1
vote
1answer
145 views

What's wrong with this asset growth simulation?

Sorry if this is too basic, but I have this spreadsheet that simulates asset growth of a portfolio under a given return and risk using MPT. Here is a plot of probability distribution of asset ...
3
votes
1answer
480 views

How does the 2-factor Hull White model propagate the forward rates curve?

I've been trying to get a grasp on some of the basics of interest rate modeling, and am looking to simulate rates using the 2 factor Hull White model, which I am aware offers a more realistic model of ...
2
votes
0answers
246 views

Credit Valuation Adjustment Implementation

I am trying to help a friend with her thesis on Counterparty Credit Risk where she intends to have a somewhat lengthy treatment on Credit Valuation Adjustment (CVA). Specifically I am looking to help ...
1
vote
0answers
1k 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 ...
4
votes
2answers
1k views

Monte Carlo simulating Cox-Ingersoll-Ross process

The CIR process is given by the SDE $$ \mathrm dr_t = \theta(\mu-r_t)\mathrm dt + \sigma\sqrt{r_t}\mathrm dW_t $$ where $W_t$ is a Brownian motion. I am interested in finite-difference schemes of ...