# All Questions

492 views

### RQuantLib, Hoadley and Bloomberg YAS: fixed rate bond pricing differences?

I'm trying to price a fixed rate bond one year from now on. The bond is the PEUGOT 7 ⅜ 03/06/18, whose ISIN code is FR0011439975. I'm using such a specific example because in this way everyone can ...
720 views

### backtesting options strategies in R

I would like to backtest an options strategy in R. I require the ability to delta hedge and rebalance to options in the portfolio at different frequencies (daily, monthly,etc.) What packages are the ...
222 views

### knowing the order of GARCH model

I want to ask if there is a situation to know the order of GARCH(p, q) from the result. For example, in the case of AR(p), one can know the value of p by plotting pacf(). In case of MA(q), one can ...
203 views

### Proxy for Expected Economic Growth

Can anyone help me understand how expected economic growth is usually measured? I've read several papers that talk about using breakeven inflation as a proxy for expected inflation, and then the ...
1k views

### Best way to store hourly/daily options data for research purposes

There are quite a few discussions here about storage, but I can't find quite what I'm looking for. I'm in need to design a database to store (mostly) option data (strikes, premiums bid / ask, etc.). ...
208 views

### Non-arbitrage theory and existence of a risk premium

Consider a probability filtred space $(\Omega, \mathcal F, \mathbb F, \mathbb P)$, where $\mathbb F = (\mathcal F_t)_{0\leq t\leq T}$ satisfing the habitual conditions and isgenerated by $1 d$- ...
6k views

### Usage of NoSQL storage in Finance

I am wondering if anyone has used NoSQL (mongodb, cassandra, etc.) to store and analyze data. I tried searching the web but was not able to see if the financial firms had gotten in to using nosql ...
260 views

### Hedging credit risk using Put equity options

I am looking for some paper or similar which deal with this topic: hedging bankruptcy on firm's debt using Put options written on that firm's equity price. This should be based on the assumption that ...
417 views

### Risk-free rate for ex-post evaluation of investment strategy

When evaluating the strategy ex-post using e.g. Sharpe ratio, what should one use as the risk-free rate? Let's suppose I am using a 1Y sample of weekly returns, sampled between 2012-01-01 and ...
361 views

### Relationship between European, American options volatility

Suppose, if the price of a European option (say a put) can be shown to be monotone in volatility (say for any maturity), does it follow that American options has to be monotone in volatility? ...
990 views

### How to implement Maximum Diversification in R?

I am trying to code up the optimization problem for Max Diversification Portfolios. The main problem I am having is properly translating the objective function in to code and port it in to the ...
244 views

### Rate Distortion Minimization in a Python Clustering Algorithm

I'm attempting to solve for $\hat{k}$ clusters, such that the rate distortion is minimized, as described here, however, the answers that I am getting from my algorithm are not following the "Jump" ...
438 views

### Is vega of Black-Scholes European type option always positive?

We assume we work in the risk-neural measure with a stock which pays no dividend and a continuous discount rate. For PUT and CALL only: can someone please clarify if what I said is correct? The ...
297 views

### How to test the efficiency of Exponential Moving Averages as a trading startegy? [closed]

I would like to know how I can test the efficiency of Exponential Moving Averages when it comes to forex trading. Can i have any papers that point to the efficiency of this strategy? Thank you. :)
200 views

### Quant/Stat Factor Performance Website/Distribution?

Does anyone know of a decent quant/stat factor website, distribution(public or private) or publication that tracks performance of "many" of traditional quant/stat factors? By that I mean would show ...
106 views

### Event studies using revenue data vs. measuring abnormal returns

This may be a silly question, but does there exist a methodology for examining the impact of "events" on companies that are not publicly traded? I suppose it would look at abnormal revenues rather ...
239 views

### Interpolate option volatility in delta space in R

I have a bunch of deltas and option implied vols at those deltas. I would like to interpolate them in R. Interpolating them in delta space seems difficult, since normally you would like the ATM calls ...
327 views

### Does DOM trading using broker data make any sense?

Can I use DOM information from Interactive Brokers? Does it make sense? I assume that it makes sense to apply some volume based algorithms only then when you know this order book, that you can get ...
71 views

### Portfolio insurance with a coherent risk measure (CVaR)

I would like to analysis of portfolio insurance under a coherent risk-measure method (CVaR), How can I achieve that? Is there a way to turn the problem into a linear programming problem? or to ...
231 views

### Philips-Ouliaris test for cointegration

I'm trying to implement cointegration tests using the R urca package. I've figured out the Johansen test (ca.jo), but I'm having trouble with the Philips-Ouliaris test (ca.po). I have two questions: ...
81 views

### What does it mean to adjust for short-run liquidity in finding risk-free rate of return

Risk-free rate of return should equal the expected long-run growth rate of the economy with an adjustment for short-run liquidity. What is meant by the last phrase, "adjustment for short-run ...
124 views

### RQuantLib: any difference between FixedRateBond() and FixedRateBondPriceByYield() with flat term structure?

Please, consider the following functions from RQuantLib package: FixedRateBond() ...
399 views

### Trading days or calendar days for Black-Scholes parameters?

Black-Scholes requires volatility estimated in trading days. How does this affect other parameters? Specifically, should the time-to-expiration also be in trading days? And how does this affect the ...
547 views

### In Black-Scholes, why is $\log{\frac{S_{t+\triangle t}}{S_t}} \sim \phi{((\mu - \frac{1}{2}\sigma^2)\triangle t, \sigma^2 \triangle t)}$?

Namely, I dont understand why the mean is $(\mu - \frac{1}{2}\sigma^2)\triangle t$ and not just $\mu \triangle t$. I am aware that it is supposed to represent a lognormal distribution, but I guess I'm ...
10k views

### How to calculate unlevered beta

I have derived a firm's cost of equity using the WACC formula (see here), which means that the cost of equity has factored in the firms' debt (i.e. levered beta) and now I need to calculate the firm's ...
403 views

### Black Scholes Formula for Collar Option

I am wondering if there exists a Black Scholes pricing formula for a collar option?
2k views

### How to use PCA for trading

Can anyone give me a few pointers of how to approach using PCA for trading? In particular, it seems to me, PCA is useful for selecting a subset of a portfolio of stocks(or other) rather than trading ...
3k views

### Is there an all Java options-pricing library (preferably open source) besides jquantlib?

I am looking for an all-java implementation of black scholes, preferably open source. I found jquantlib and quantlib (C++). Any other recommendations? The jquantlib site seems to be down. I'd prefer ...
2k views

### Convexity adjustment for a forward swap rate

I recently heard that for a forward swap rate (for example, the fixed rate of a swap that will start in one year and end in five years), I need to do a convexity adjustment in order to get the right ...
216 views

### Time Varying Volatility

If stock returns ($r_t$) are not auto correlated why is that the squared term of the returns (volatility) exhibit serial correlation? Does heteroskedacity, by its nature, imply that time varying ...
205 views

### Volatility of a rolling window strategy

What methods can be applied to determine the volatility of strategy using a rolling window? Using normal standard deviation would bias the results as the returns will be highly correlated. Although, ...
215 views

### How to measure contango?

Is there any unit of measure for the magnitude of the contango (or backwardation) for futures, so you can compare the contango of many symbols.
62 views

### Is there an appropriate sequence to tests during model diagnosis?

How should one order (sequence) the following tests? Stationarity test Johansen cointegration test Normality/Histogram test Autocorrelation test Heteroskedasticity test Multicollinearity test ...
77 views

### How to measure if variance is greater at a certain time of day?

I'm not very fluent in the quant vernacular, so perhaps the nature of my question will be better illustrated as a hypothesis. One market has closed and another market elsewhere on Spaceship Earth is ...
114 views

### How does one use the Johansen cointegration test in a linear time series model?

How does one use the Johansen cointegration test in a linear time series model? Should I only use normalized coeffients for interpretation? Or, once I know that the variables are cointegrated, do I ...
419 views

### S&P 500 P/E percentile

I am researching the past five year return for the securities in the top and bottom 10 percentile of the S&P 500 on date 5 years ago. I used Bloomberg to get this data. When I searched for the ...
162 views

### How to synchronize put and call option-data?

I recently retrieved a large amount of European option data, for call and put prices, from OptionMetrics. Doing so for the same time period I get a file consisting of 62558 rows of call prices & ...
541 views

### What exactly is an ISO order?

I have been looking this up and I feel like I keep running into different definitions. My understanding is that an ISO order is one which will get filled with the displayed quantity in a particular ...
560 views

### Calculating Geometric mean

I need to annualize daily returns for about 120 firms for over a period of 10 years. I chose to calculate the geometric return because 1) it is the actual return 2) to avoid the asymmetric effect of ...
168 views

### How replicate data using PCA

I have a set of date covering petrol prices. My example has two columns where each row represents a sequential date. ...
245 views

### Transformation to reduce standard deviation without changing median

Consider some negative skew and high kurtosis return time-series $X_t$. I do not know the functional form of the pdf of $X_t$ and have about 150,000 data points. Suppose that I was to create an ...
118 views

### Hedging differences between equity and index options?

Suppose we hedge an index option using futures on that index. How would the hedging strategy be different if the underlying could be traded directly (from a risk point of view)?
147 views

### help me compare methods to compute one instrument price from another instrument price

Assume we have two instruments A and B. Also time is increasing from 1 to n. Let's say that ...
289 views

1k views

### Longstaff-Schwartz (Least Squares Monte Carlo) applied to American Options

I'm working on an implementation in R of Longstaff & Schwartz method from the this 2001 article. I've managed to build code that replicates their prices in table 1 (p. 127), but only for the ones ...