# All Questions

143 views

### What is the difference between market equilibrium and market efficiency? equilibrium implies efficiency?

The market efficiency hypothesis means securities are traded at their fair price. If the market is at the equilibrium, does it mean the market is efficiency? If equilibrium cannot implies efficiency,...
106 views

### R quantstrat backtest with dollar based position sizing

I am attempting to tweak a quantstrat based backtest but have run into an issue. The maxPos limits are share based, and I would rather use a fixed dollar amount instead. So I've tried generating a ...
41 views

### Choosing Optimum Sampling Frequency

There was an interesting post made by Jonathan Kinlay where he discusses the use of a Fourier Transform to discover a potentially optimum bar frequency to choose as an input to a trading system. I am ...
147 views

### Derive OIS rate from IRS rate and Fed Funds/Libor basis spread

For example I have 7Y interest rate swap rate and 7Y Fed funds/Libor basis spread. What is the step-by-step procedure to derive OIS rate from these two?
76 views

### Citable source: Why implied volatility over dollar prices

I am aware of the reasoning of quoting vanilla options as implied volatilities rather than dollar values. However, I would like to have a literature reference where this is explained, to quote / cite ...
188 views

### Analytical soluton to the Black-Scholes equation with a modified European Call Option

Please consider the following modified European Call Option where $0 < a \leq 1$. When $a = 1$ the modified European call option is reduced to the standard European call option. ...
101 views

### GARCH filtering and extreme value theory

We are evaluating a model for risk management based on extreme value theory using peaks over threshold and markov chain monte carlo methods. In doing this, we are firstly fitting a GARCH (we have ...
40 views

### Good broad review of network modeling for quant finance?

Trying to find some good review of agent-based models for quantitative finance, covering opinion dynamics, correlated behavior, etc. Are there any articles or books that cover major advances in these ...
210 views

### When measuring autocorrelation should you use log returns or prices?

Let's say you want to measure intra day autocorrelation from 9:30 am to 1pm using 5-minute prices should you calculate the autocorrelation using raw prices or log returns (i.e. diff(log(prices)))? Can ...
71 views

### How to measure the volatility of illiquid bond with no historical prices

The basket of corporate bonds that I am following barely traded after the issuance. Hence, there is no historical data to estimate the volatility. Can you suggest me a different approach to come up ...
267 views

### Weights Blowing up in PCA

I'm using daily settlement data to get yield levels for a couple of products. From this data I am doing PCA on a rolling collection of the yield levels. I have been using sci-kit learn's PCA function, ...
96 views

### Is there any application of power law to predict large returns?

Power law basically states that after a certain threshold, probability distribution $p(x)\sim c\,x^{a}$ where $x > x_{min}$, which is often the case for financial time series. It is also generally ...
860 views

### Change periodicity on Rblpapi

So Dirk Eddelbuettel, Whit Armstrong, and John Laing released Rblpapi to CRAN recently, and it is awesome. I'm having some difficulty understanding how the overrides work though, hopefully someone can ...
116 views

92 views

### GARCH estimation does not work, error in my returns?

Hey everyone and I hope that there are some smarter people out here that can help me out with my problem...: I have trouble with my implementation of a GARCH(1,1) model and I do not know how to move ...
20 views

### Where do Over-allotment (Greenshoe) option shares come from?

I'm just wondering, if following an IPO the share price goes up and the underwriter calls the option, where do those extra 15% shares come from? Does the company have to issue more stock to cover the ...
102 views

### Option writing optimal sell time

When selling options, e.g. a straddle I read often the optimal time for selling options is 30-40 days until expiration. For me intuitively the optimal time would be around one week until expiration ...
84 views

### Return.portfolio error from PerformanceAnalytics package

When using the PerformanceAnalytics package of R, I am getting an error from the Return.portfolio function whenever I ask it to rebalance_on any frequency. If the rebalance parameter is removed, the ...
357 views

### Measuring momentum as AR(1) process

I would like to measure the momentum in the price of a stock from the time the market opens until the time I trade each day. I want to use this momentum number in post-trade analysis (regression of ...
435 views

### Realized Volatility vs. Standard deviation of log returns

I am interested in calculating high frequency 5-minute intraday volatility. I am going to use the standard Realized volatility which is the square root of the sum of squared log returns. Given X is ...
46 views

### optimal look back period for cointegration analysis on daily prices

I'm running some cointegration tests on 2 stock pairs and was wondering, generally speaking, what would be the optimal look back period to test considering I am using daily prices and the average ...
117 views

### Why does increased stock borrow costs decrease a stock's forward price?

The author in this article -- http://streetwiseprofessor.com/?p=7294 -- states that an increase in stock borrowing costs decreases a stock's forward price: In the absence of manipulation, the ...
55 views

### Financial theory

Ok guys, I'm studying from Danthine and Donaldson - Intermediate Financial Theory. The book itself doesn't have a lot of worked examples, and I'm lacking the basics for understanding some concepts ...
65 views

### How can I compare two mutual funds' performance with a sparse set of data?

I want to compare the performance of two mutual funds. The only data I have is annual returns for the past 7 years. So I have 7 observations for Fund 1 and 7 observations for Fund 2. In addition, I ...
84 views

### Examples for the option model validation

When implementing a code for the new model, even if it provides sensible price, it is still a good idea to compare it against some benchmarks, even in the special case of constant volatility Black-...
176 views

### CNY Devaluation: Why EUR up, USD down?

The second unexpected devaluation of the Chinese currency CNY caused some turbulent market movements in currencies today. I was surprised that the EUR went to a 1-week high against the USD up by ...
102 views

### Is it realistic to assume that the current price of a stock takes into account the probability of it going up or down in the future?

I'm currently reading the following lecture notes: http://www1.maths.leeds.ac.uk/~jitse/math2515/lecture04.pdf On the second page, under the subsection titled "The Risk-Neutral World" it points out ...
101 views

### How to evaluate minimum-variance strategies against perfect information mvp

The minimum variance portfolio should minimize the standard deviation (variance) of the portfolio at time $t+1$. The covariance matrix $\Sigma_{t+1}$ needs to be estimated in order to form the mvp. ...
68 views

### Correct form for State Space Equation for Kalman Filter for DNS

In this paper: http://www.ssc.upenn.edu/~fdiebold/papers/paper55/DRAfinal.pdf in eqns 3,5 the state eqn has the mean removed. $(z_t-\mu)=A(z_{t-1}-\mu) + \epsilon_t$ $y_t=C z_t + \delta_t$ ...
212 views

### Numerical Solution to BS PDE - Digital Option

Here is a relatively simple question about PDE's pricing. Assume that we are within the BS framework and moreover that interest rate is zero. The price $V(t,S_t)$ of the digital is known to be \$\Phi(...
293 views

### predict next day's close price using hmm

I am reading this paper(Stock market forecasting using hidden Markov model: a new approach) and get confused about how they predict the next day's close price. Below is what the authors say about how ...