All Questions

-1
votes
1answer
427 views

Calculating arbitrage- S&P 500 stocks vs S&P 500 Index future?

How exactly would I go about investigating whether the S&P 500 stocks were currently over-valued compared with the price of the S&P 500 Index futures contract? Is it just a case of taking each ...
2
votes
0answers
268 views

Is this methodology to calculate Alpha using multi-factor regression model correct?

I am trying to find out Historical Alphas of a bunch of fund returns ${F_i}$ by Using Regression Model$(stepwise)$ with regressors as its underlying exposure-returns(risk-free rate subtracted) i.e. ...
2
votes
0answers
107 views

Pre-Trade Slippage Costs For Option Spread Execution

Is there a quant model that can help estimate how much slippage one would have to give up in order to get an "option spread" (vertical, butterflies, etc.) order executed? What factors should one look ...
5
votes
0answers
204 views

Time series analysis on illiquid price data?

Say for example I have the following company in some specialized industry: A - Company that is about to be listed in Exchange 1, i.e., no price history B - Company that produce similar products as ...
3
votes
1answer
504 views

Fitting a GARCH BEKK model

I am trying to find whether there is significant volatility transmission between two price series (t=1000). A literature review learned me that the GARCH BEKK model is suitable for this. The SAS ...
7
votes
1answer
385 views

Are there any other standard rates term structure decomposition than PCA?

PCA is sometimes used to estimate components in the rates term structure. Are there any other standard method discussed in the literature or used in practice, what are their advantages and ...
0
votes
0answers
64 views

Input for unanticipated risk premium estimation

In the paper "Economic Forces and the Stock Market" by Chen, Roll and Ross, unanticipated risk premium (URP) is tested as a potential risk factor for stock returns. This factor is commonly calculated ...
1
vote
0answers
64 views

How to choose a window for curve fitting and prediction?

I am using Pareto distribution to fit a serie of survival rates (with least square). My ultimate goal is to use this fitting curve for prediction. Thus I would mainly focus on the tail of the ...
6
votes
3answers
470 views

Testing the validity of a factor model for stock returns

Consider the following m regression equation system: $$r^i = X^i \beta^i + \epsilon^i \;\;\; \text{for} \;i=1,2,3,..,n$$ where $r^i$ is a $(T\times 1)$ vector of the T observations of the dependent ...
1
vote
0answers
83 views

How to show that the risk contribution function is or is not injective?

Assume a portoflio $w \in \mathbb{R}^n$, you can get the total risk contribution $\psi_i$ of asset $i$ by doing: $$\psi_i = w_i \frac{\partial \sigma(w)}{\partial w_i}= \frac{1}{\sigma(w)} \left[ ...
1
vote
0answers
354 views

Long/Short portfolio return

Suppose I have a Po with one long, one short positions and some cash (to balance the short + 50% margin) as shown below: ...
1
vote
2answers
368 views

Transaction Data with Participant ID

For my master thesis, I need high-frequency data with the market participant ID or which identifies the trading parties, respectively. I don't need the entire orderbook but just the matched orders ...
6
votes
1answer
670 views

What is exactly Euler's decomposition?

I have often seen the following statement in different paper: As $\sigma$ is homogeneous and of degree 1, we use Euler decomposition and write $\sigma(x)=\sum_{i=1}^n x_i \frac{\partial ...
2
votes
2answers
468 views

Index arbitrage with Options when not all underlyings have options listed?

One arbitrage strategy involves looking at the price of the Index Futures price compared with the prices of the options contracts for the underlyings. My question is, can this arbitrage strategy ...
1
vote
0answers
117 views

Do you use software for finite element valuation or do you roll your own?

Engineers put a lot of time and effort in developping high quality finite element (FE) software (deal.II, Dune, Elmer,...). So I was wondering if some of those tools would be suitable for quantitative ...
2
votes
1answer
234 views

Should I use QuickFix or a 3rd-party commercial API to connect to the CME

I already use QuickFixN to connect to FX ECNs, and am now looking to branch out into futures. Googling it, it seems as if there are a lot of 3rd party APIs which are written to do this, but is there ...
0
votes
1answer
238 views

Where does CME store Security IDs for FIX messages?

Where does CME store Security IDs for FIX messages? I cannot find them anywhere? So given Security ID XX I can go and work out what product this actually is?
8
votes
1answer
729 views

academic papers about market making

I am looking for academic articles which model the p&L of market makers. I have read the Ho-Stoll (1984) article. Is there any recent article on this subject?
8
votes
4answers
4k 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?
3
votes
1answer
615 views

How to price a bond at specified dates in QuantLib

I am wondering what's the most efficient way (i.e. the method which involves the fewest arguments) to price a bond at a specified date, e.g. a future date (as instance, 6 months from now) in QuantLib. ...
4
votes
1answer
244 views

Liquidity diversification

The liquidity diversification can be measured by the liquidity score, defined here as the ratio between the pure market P&L CVaR and the market+liquidity P&L CVaR. I have tried to reproduce ...
2
votes
0answers
116 views

CVA DVA and Bilateral adjustment

I've already computed the CVA\DVA and now I would like to compute the bilateral adjustment. Does anyone know the relationship between the CVA\DVA with the bilateral adjustment? I mean a paper, ...
1
vote
3answers
224 views

Risk Neutral Evaluation - Exchange/Spread Options

I have two assets, $S_1$ and $S_2$, which follow geometric Brownian motion processes. This implies that both $S_1$ and $S_2$ have a lognormal distribution. I'm trying to get the exchange option price ...
1
vote
1answer
171 views

“Friendly” papers about maximum smoothness yield curve modelling

I'm currently looking to implement some version of the yield curve modeling techniques in the maximum smoothness framework. The papers I have found so far explains the theory pretty well, but I find ...
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 ...
2
votes
1answer
171 views

Risk-neutral models for rights issues

A rights issue is the granting by a corporation to its shareholders of a right to purchase $N$ new shares for each $M$ shares they already hold at a (often discounted) price $K$. Thus, it ...
1
vote
0answers
214 views

Test for stationarity and make use of non-stationary points in financial market?

I have two questions to ask: What are the best methods to determine stationarity in a financial market (such as stocks) using MATLAB? What methods would you recommend to use in order to change from ...
2
votes
1answer
566 views

Ordering of CME Level 2 FIX Market data?

The following link contains a file containing CME Level 2 FIX Market/Orderbook data for Corn futures: ftp://ftp.cmegroup.com/datamine_sample_data/md/mdff_cbt_20130714-20130715_7813_0.zip However, ...
3
votes
0answers
153 views

Should I use Resampling or Expectation Maximization to compute a robust covariance matrix?

I have several assets, each with different return histories. Some of the assets have 75 days of return history, others have 40 or so days. In calculating a robust covariance matrix, should I be using ...
2
votes
1answer
449 views

Monte Carlo Options Probability Calculation

I have a fairly simple problem for an application I am writing currently. How do you calculate the options probability of being in the money or touching a certain strike price. I know there are at ...
1
vote
2answers
205 views

For a interdays trading backtest system, should I put day open, close, high, low, volume separately into array?

I think there are two possible ways: 1. day open, close, high, low, volume separately into array, then I have 5 arrays to work with my calculation 2. Put all of these into one array or linklist to do ...
2
votes
1answer
246 views

QuantLib error with qlPiecewiseYieldCurveData() on qlPiecewiseYieldCurve() with ZeroYield and ForwardRate

I'm using QuantLibXL to build a discount curve, a zero yield curve and a forward curve of the EURIBOR rate (QuantLibXL is downloadable here). I've built an object of class ...
2
votes
2answers
311 views

ETF Negative Roll Yield

I have a quick question about the ETF Roll Yield. As we all know commodity ETF’s have struggled with contango (spot price is below futures prices on the term structure). Look at an ETF like USO which ...
0
votes
1answer
350 views

Question about option theta

I have a question about a option theta. When I evaluate the option theta of near expiry put option using Black-Scholes formula given the data as follow: Index Level = 20,500 Strike Price = 20,000 ...
4
votes
1answer
747 views

What is the best solution to use QuantLib within Excel?

Excel is likely the most widespread instrument across all not-only-quants desks; in addition, we have to keep in mind that Bloomberg and Reuters allow to easily import real time data in Excel, and ...
1
vote
2answers
457 views

Brownian motion - first passage time

Can anyone point me to the expression for the first passage time for a geometric Brownian motion process X(t) as a function of the starting point, threshold, drift and diffusion parameters. I am ...
6
votes
0answers
525 views

What are modern algorithms for trade classification?

When dealing with trade data, for example from TAQ, a common problem is that of determining whether a trade was a buy or a sell. The most commonly used classifier is the Lee-Ready algorithm (Inferring ...
3
votes
1answer
178 views

Deutsche Börse sample Level 2 data, how to view in Windows?

DB has some sample Level 2 market data: ...
-1
votes
1answer
256 views

Where can I get real-time equity options quotes for a reasonable price (i am not a company) besides screen scrapping Yahoo! Finance? [duplicate]

Want to have electronic access to equity options quotes in real-time. Is there anyone offering this service to the individual investor for a reasonable price? Again it must be electronic, in other ...
4
votes
1answer
145 views

How to compute the volume of an index from the volume of its constituents?

I'm trying to understand how to compute the daily volumes of the Dow Jones Industrial Average but I haven't found the proper formula yet. I thought it was the sum of the price*volume of each ...
8
votes
1answer
137 views

How to test that a distribution has infinite mean?

I observe a sample from a distribution that I expect to be the hitting time $$\tau = \inf\{t>0| X(t)>a\}$$ where $X(t)$ is a Lévy process with $X(0)=0$ and $a$ is some constant. $X$ is not a ...
0
votes
1answer
72 views

Increasing Market Depth

Are there any sure-fire ways to increase market-depth that people have experience with? Has much research been done/published on this subject?
1
vote
0answers
141 views

Example code for “Gauge Invariance, Geometry and Arbitrage” paper

This paper describes an algorithm for computing arbitrage opportunites using a gauge connetion. Has anyone written a python program or C++ or C# program that shows how to follow the steps outlines in ...
0
votes
0answers
59 views

Inferring the maximum drawdown depth for a different sample size

Let's say there's a trading system that has a 10 % chance of getting a maximum drawdown >= 50 % over a sample of ...
1
vote
1answer
166 views

reinsurance pricing equivalent to option pricing

Is it true that pricing a reinsurance contact is equivalent to pricing an option. Basically a reinsurance just cuts off the risk exposure of the insured institution to a threshold say $K$. So if we ...
1
vote
1answer
199 views

Has there been success in applying Mandelbrot's ideas to financial markets?

More specifically, I am looking for recent research papers that have harnessed Mandelbrot's ideas too successfully predict asset prices. I have read many papers about wavelets, and I would like to ...
2
votes
0answers
127 views

Portfolio optimization with absolute position constraints

I'm looking to optimize a portfolio maximizing expected return for a particular risk budget, but with absolute constraints on the individual instrument positions. I've been experimenting with QP, ...
5
votes
1answer
250 views

Definition of gearings, spreads and curve in RQuantLib's Floating Rate Bond function

Consider the RQuantLib package function FloatingRateBond(). This takes as inputs gearings ...
2
votes
0answers
191 views

What structural model does Reuters use for default probability?

When using Reuters, for each listed company there is credit tab that shows relevant information in terms of credit default. There is also rating class as well as one year default probability. It is ...
0
votes
1answer
274 views

Japan day count conventions

I am after a good comprehensive resource on Japanese day count conventions. By that I mean, is actual/360 or actual/365 used for pricing various options, forwards, futures, etc.

15 30 50 per page