# All Questions

75 views

### compute technical indicators from candle data

i have a rookie question but can't find the answer anywhere so..what is the right way to compute a simple moving average when you have an array of (open,close,low,high) tuples ? From what i saw so ...
156 views

### Derivation using Ito's Lemma of price process

Define $q(t)$ as the log price minus a linear trend $$q(t) = \ln P(t) - \mu t$$ Assume the log price process = Equation 1: $$dq(t) = - \Theta q(t) dt + \sigma dW(t)$$ Can you show that the ...
138 views

234 views

### Why is CSA currency OIS rate used in discounting instead of local currency OIS?

I have been struggling to understand the logic behind cross currency OIS discounting (where cash flows happen in different currencies than the collateral is paid). I will illustrate my question ...
153 views

### Compare events effect on stock prices from different time periods

I’m going to test for the effect corporate credit rating announcements have on stock prices through different economic climates (good times vs. bad times). I want to research whether or not the stock ...
83 views

### Probability of Closing Stock Price Over a Defined Period

I found this equation when I was reading "Paul Wilmots on Quantitative Finance" which calculates the probability that of a stock price ending/landing on a particular price (S'). So if the stock ...
80 views

291 views

### Bayesian or Frequentist in Finance?

I'm currently an undergrad at a Canadian university and our finance courses has been brought up through the frequentist approach (ols, hypothesis testing, sampling theory). Only recently, through ...
314 views

### Stochastic Volatility CIR estimation

Would anyone have a code (pref. Matlab or R) for any type of estimation (QML, GMM) not using option prices of a stochastic volatility model driven by a CIR process described below? ...
65 views

### Why Beta Distribution for Credit Migration

When modelling credit migration probabilities (e.g. AAA to AA), research has indicated the use of the Beta Distribution simply because it fits empirical data. My question is; What are some other pros ...
355 views

### How to find the best fitting GARCH model for a portfolio composed of 3 ETFs in R?

I am doing a project for my class Financial Time Series in which I am trying to forecast my portfolio log returns using a GARCH fit. I am having a bit of trouble determining the best way to fit this ...
109 views

### Maximizing utility subject to a wealth constraint

Let $\tilde{E}$ be the risk neutral expectation, and $X_t$ the wealth that time t and $R$ the return of a risk-free investment. Consider maximizing the function $EU(X_N)$ subject to ...
137 views

### Why can't I multiply two SDE Solutions?

SDE 1 is S1 = S10 exp( (r1-sigma^2/2) * dt + sigma dW1 ) S2 = S20 exp( (r2-sigma2^2/2) * dt + sigma2 dW2 ) E[dW1 dW2] = rho I want to price an option on S1 x S2 I know I need to use the SDE's to ...
139 views

### GARCH parameters

I'm trying to estimate parameters of GARCH(p,q) model. I tried p=1, q=1 with t-distribution errors. Ljung-Box showed no correlation in residuals and squared residual. But the null hypothesis that ...