0
votes
1answer
49 views

Girsanov theorem in CMS convexity derivation

I am going through the derivation of CMS convexity from the notes of Lesniewski There is a transformation from $T_p$ forward measure to annuity measure $Q$ as $$ ...
0
votes
1answer
104 views

Calculating Bollinger Band Correctly

My bollinger band comes out like the below, which doesn't seem right. Any idea what is wrong with my code for calculating upper and lower bollinber bands? I obtained my data from here ...
0
votes
0answers
55 views

hedging an equity portfolio against an index

I am trying to run a simple back test on a M&A strategy. The idea is to buy the target company for the length of the deal and obviously hope to see a profit. The weight given to each deal is ...
1
vote
0answers
17 views

Autoregressive distributed lag models ADL(p,q) howto in preferably matlab (stata/R/python/C# etc)

Could anyone provide me the details of how to determine the lag order of the distributed lags for an ADL(p,q) model in Matlab or another statistical package (and very much preferably in combination ...
1
vote
1answer
88 views

Trading over a Ornstein/AR process

For a OU/AR(1) process is there anyway to analytically calculated most probable period of time the process is likely to diverge from the average, before turning to converge. Basically I am looking ...
12
votes
6answers
2k views

Formal proof for risk-neutral pricing formula

As you know, the key equation of risk neutral pricing is the following: $\exp^{-rt} S_t = E_Q[\exp^{-rT} S_T | \mathcal{F}_t]$ That is, discounted prices are Q-martingales. It makes real-sense for ...
4
votes
3answers
179 views

How to hedge a derivative that pays the reciprocal of the stock price?

1) Suppose S is the stock price, how to hedge a derivative that pays $1/S_t$ at time $t$? 2) Suppose there will be a dividend of amount $d$ between $t$ and $T$, how to hedge a derivative that pays ...
5
votes
0answers
55 views

Estimate rolling stochastic volatility forecast using stochvol in R

I want to use the R package stochvol to fit a SV model to a DAX training set and use the output to estimate a rolling one-step-ahead forecast: ...
0
votes
0answers
32 views

Position Strength: Leveraged vs. Non-Levered

Is there some sort of metric or formula for bull/long strength in a market based on % of shorts/longs on margin, and perhaps even the size of that leverage? I ask because I participate in BTC (which ...
1
vote
0answers
16 views

Understanding Price Elasticities in Discrete Choice Models (Derivative)

I'am in the midst of a paper on mutual fund product differentiation by Li and Qiu. Here, the authors model the utility an investor derives from investing in a mutual fund using a Discrete Choice Model ...
1
vote
3answers
69 views

Who is the issuer and the counter part of this instrument?

I have the following SWAP contract : T1UH4 which is a 2-Year Deliverable Interest Rate Swap. Product info : ...
1
vote
2answers
150 views

why is the BNS model the way it is

what I am puzzled about is, why dont we instead of having \begin{equation} dX_t = \sqrt{V_t} dB_t - (\frac{1}{2} V_t^2-r-\lambda\Phi(\rho)) dt - \rho dZ_{\lambda t}\nonumber \end{equation} we just ...
1
vote
1answer
33 views

Proper way to combine wavelet coefficients from multiple rounds of analysis

I am doing signal analysis for a time series and the assumption of signal is S = F + e Where S is the original signal, F is the frequency component and e is white noise (auto-regressive time series ...
3
votes
0answers
76 views

What is the most convenient data structure for backtesting a model of futures options prices?

I have an empirical model for the dynamics of futures prices in a particular market that I have implemented using a long series of the front five contracts. (I account for the roll in my model.) I ...
5
votes
1answer
138 views

Heat/Diffusion Equation

I am working on a problem where I have successfully reduced a version of Black Scholes to the Heat Equation and then shown the solution to be: ...
1
vote
0answers
46 views

Why would a 9% dividend payment halve the stock price? [closed]

I am trying to understand why a stock experienced a very drastic drop in price. The only event linked to the drop seems to be payment of an unusually big dividend; however its effect on the price ...
1
vote
1answer
534 views

Historical volatility from close prices (Haug pg 166)

I have implemented a function for calculating historical volatility using close the close method as described by Haug on page 166. When I implemented the formula given by Haug, it resulted in some ...
2
votes
2answers
230 views

What open source trading platform are available

I would like to compile a list of open source trading platforms. Something that would give an overview and comparison of different architectures and approaches.
1
vote
3answers
255 views

Is this arbitrage?

Assume the stockprice as in the Black-Scholes model (Geometric Brownian Motion): $$S_t=S_0e^{(\mu-\sigma^2/2)\cdot t+\sigma W_t}$$ Wouldn't there be an immediate arbitrage opportunity, to just buy ...
1
vote
1answer
82 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.
0
votes
1answer
75 views

How to projectP&L or drawdowns on pair trading , trading and portfolios?

This is for planning and risk management. I am stuck on the following thoughts - Back-test the trading strategy for a period similar to the one you expect and then project. Do the above using ...
0
votes
1answer
77 views

How to calculate the volatility matrix with multiple stocks

calculating the volatility for a single stock is straightforward. However, I'm not sure whether my approach for calculating the volatility matrix for multiple stocks is correct: I assume a log-normal ...
8
votes
4answers
3k views

Except Zipline, are there any other Pythonic algorithmic trading library I can choose?

Except Zipline, are there any other Pythonic algorithmic trading library I can choose? Especially, for backtesting?
2
votes
1answer
108 views

Econometrics - Testing

If we have a time series of returns and two time series of indicators, how would we test the use of these indicators if they are autocorrelated or nonstationary (VAR Models dont produce significant ...
2
votes
1answer
40 views

How are bond prices quoted in the financial press related to bond yields quoted?

For example in the FT this month a 10 year US bond with redemption date 05/24, coupon 2.50 has a bid price of 99.52 and a bid yield of 2.56. Can one calculate the bid yield from the bid price, red ...
-1
votes
0answers
48 views

Calculating Modified Duration on Excel and Matlab - differences?

I'm currently trying to duplicate the excel formula in a matlab code. However, it seems that I have significant differences when it comes to 29th february and 29/30th August. I also have very small ...
20
votes
8answers
3k views

How good is managed code for algo trading?

I am currently working in a firm that does algo trading. We do all of our stuff in Java. And we do make money out of it. We have debates all the time whether we would have made more money with native ...
9
votes
7answers
5k views

Is there any thing out there as a substitute for KDB?

thanks a lot for your discussions on the original post. following your suggestions, let me re-phrase a bit : kdb is known for its efficiency, and such efficiency comes at a terrible price. However, ...
3
votes
1answer
64 views

Minimum Variance Hedge Ratio in Binomial Framework

In order to find the minimum variance hedge ratio when holding a portfolio of vanilla call options and hedging with stock, you can do an OLS regression. In a binomial model framework, given ...
0
votes
3answers
194 views

hedging with known volatility

Suppose we have a stock $X$ at which trades at 100 dollars. We suppose the stock follows a geometric brownian motion. We know that the interest rate is zero and annual volatility is 10 percent. How ...
4
votes
2answers
175 views

Difference between a warrant and an option?

What is the difference between a warrant and an option on a stock? Apparently both represent the same right to receive a share of stock at the strike.
0
votes
2answers
116 views

Avoiding negative spread in pairs trading

I'm constructing money-neutral spread by this formula: Spread = log(P1) - log(P2), where P1 and P2 is prices of two instruments But sometimes spread can get into ...
4
votes
1answer
162 views

Why would an exchange choose one matching algorithm over another?

There are a number of different matching algorithms at different exchanges. Time-based FIFO is most common, but there is also mixed FIFO/pro-rata, pure pro-rata, size priority, etc. Why would an ...
0
votes
0answers
40 views

Need help on cointegration

I tried to test stock pairs for pairs trading. There are two questions I am not sure. I am not using ADF to test the log difference between two stocks. But I also see people using Johansen test. ...
-1
votes
2answers
82 views

Are there providers of delayed market depth data (DOM, Level II, Order-by-Order, etc)?

I have market depth data visualization software, and I want to create a free version for introduction. As far as I know, exchanges allow to distribute their data for free for the end-users, but only ...
1
vote
2answers
181 views

Are power contracts traded on any stock market?

Are power contracts traded on any stock markets ? What about OTC markets ? I ask about the derivatives where payoff is some exponential function of difference between strike and spot price.
1
vote
1answer
38 views

Adjusting open, highs and lows for past monthly stock prices?

I'm looking into modelling monthly stock prices and want to start off by using data from Yahoo Finance. I know that the closing prices given there are adjusted for stock splits and dividends, but ...
3
votes
1answer
679 views

Drawbacks of Black-Scholes option pricing model

Will highly appreciate if anybody can provide logical financial proof why the Black-Scholes option pricing model overestimates the value for long-term options as described in this paper "Warren ...
1
vote
2answers
177 views

Exchange rate model and Martingales

In exchange rate model explanation, "...If under the domestic risk neutral measure $Q_d$, the process $X(t)$ satisfies $\displaystyle \frac{dX(t)}{X(t)}=\sigma dZ_d(t)$ Since $Z_d(t)$ is ...
6
votes
1answer
69 views

Natural gas forward price modelling

I'm looking to learn about gas price modeling, in particular models of forward prices. I've studied "classical" mathematical finance, fixed income theory et cetera. I'm looking for good references ...
3
votes
3answers
105 views

Martingale Stock Prices

In http://www.principlesofforecasting.com/files/pdf/Granger-stockmarket.pdf Granger makes survey of some arguments. In section I there are two hypothesis H01, and H02. H01: Stock prices are a ...
2
votes
0answers
32 views

Discretization Schemes

I am working with two correlated SDE's and I was wondering if I could use two different discretization schemes for them. Is there maybe a reference of this being done? And can something be said about ...
-1
votes
0answers
30 views

yahoo finance charts delay, what is it & is it documented somewhere?

yahoo states "realtime" on some of their quotes. however it is not clear how frequent the (intraday) daily charts are, yahoo does not seem to describe the time delay anywhere. does anyone know if they ...
4
votes
1answer
150 views

Popular R packages for Quantitative Finance

Which R packages (in this list or not) do you use in quant finance, why not an alternative, do you use it in production and if so, how? There is a list of most of the R packages related to Finance by ...
3
votes
2answers
69 views

Resources for finding quantitative finance examples using excel, VBA and access

I am seeking to increase my knowledge in the quantitative finance field. I would be grateful if someone could point me to useful resource online, where I can find working examples of they types of ...
4
votes
6answers
4k views

Why non-stationary data cannot be analyzed?

Searching online, i found out that non-stationary cannot be analyzed with traditional econometric techniques as in case of non-stationarity some basic model assupmtions are not met and correct ...
5
votes
3answers
219 views

Starting mathematics reading for quants

What book should I start with in order to learn about the mathematics behind financial (derivatives I think!) trading that would be used in HF's & IB's (Not sure whether there would be a ...
0
votes
1answer
101 views

Book recommendation for time series analysis

I have been trying to wrap my head around Engel-Granger test and jcitest etc. I have failed thus far. If possible can someone guide me about which books to start with and possibly reach to ...
2
votes
0answers
34 views

Formal Proof of Immunization Techniqu

Please correct me if I am wrong in understanding the Immunisation Technique behind bond interest rate risk management. It says that any change in interest rate can be neutralised by reinvesting the ...
1
vote
1answer
59 views

Johansen Cointegration Test

I just performed a Johansen Co-integration test on two stocks. The results I get are: ans = r0 r1 t1 true false I am using Matlab. Can ...

15 30 50 per page