11
votes
3answers
3k views

What is an efficient data structure to model order book?

What is an efficient data structure to model order book of prices and quantities to ensure: constant look up iteration in order of prices retrieving best bid and ask in constant time fast quantity ...
4
votes
1answer
2k views

how do we estimate position of our order in order book?

how would you estimate your order in the exchange order book? The order of order events and acks is not deterministic or guaranteed. How could you write an algo to estimate accurately your position in ...
2
votes
4answers
3k views

What are the common trading systems for hedge fund automated trading?

Is there any common trading system that is implemented by hedge fund, especially for equity or forex automated trading? I know some big names like Sungard and Bloomberg. Is there any other choices ...
3
votes
1answer
133 views

Do Bond Put Dates always fall on Coupon Dates (for non-zero coupon bonds). Calculation rules for Coupon Dates

This may not be the most appropriate SE site to ask this question, but I can't seem to find a better place to ask, so here goes: Do Puttable Bonds' put dates always fall on Coupon Dates? When they ...
7
votes
1answer
3k views

Why use a column database for tick/bar data?

I often hear that column-oriented databases are the best choice method for storing time series data in finance applications. Especially by people selling expensive column-oriented databases. Yet, at ...
1
vote
0answers
138 views

Is there a general format for various sources of futures market-data?

I am developing a market-data engine that receives market-data from different futures exchanges. So I need a general format to deal with sources from different exchanges. Protocols like FIX only ...
-3
votes
1answer
142 views

Methods for distributing cash into allocation

Are there any methods/techniques that cover distributing cash into a specific percent of a portfolio asset class while gaining the best average price? As a simple example, a portfolio starts with ...
1
vote
1answer
2k views

Calculating portfolio allocation beta with different asset classes?

I'd like to calculate portfolio allocation beta on a portfolio that has different asset classes. The portfolio may be made up of: ...
6
votes
3answers
2k views

What really drives option implied volatility?

A common and oft repeated belief regarding options volatility is that implied volatility increases due to people bidding up a contract, usually related to anticipation of the outcome of an expected ...
0
votes
4answers
288 views

What is the Benefit of holding a short option?

i am new to corporate finance and ask myself why a investor is interested in being short on a Option? The only he can win is a premium but he can loose much more. I understand with being a short I can ...
10
votes
5answers
3k views

Why is the Drawdown measure not used for portfolio optimization?

I was asked yesterday by a colleague why we are doing asset allocation using optimizers which target, for a minimum expected return: the portfolio with the minimum variance or the portfolio with ...
2
votes
1answer
3k views

How do I model GARCH(1,1) volatility for historical indexes in Matlab?

I'm currently working with historical index data from Yahoo Finance and would like to plot the GARCH(1,1) volatility of these indexes. I'm working with the Datafeed and Finance Tollboxes in Matlab ...
4
votes
3answers
461 views

Why should there be an equity risk premium?

After years of mathematical finance I am still not satisfied with the idea of a risk premium in the case of stocks. I agree that (often) there is a premium for long dated bonds, illiquid bonds or ...
1
vote
1answer
318 views

Matlab toolbox for IQFeeds

Does anyone know how to connect IQFeeds with Matlab. It seems the datafeed toolbox only accepts Reuters, Bloomberg, Yahoo and one or two more. I've been looking all over the place for a Matlab toobox ...
7
votes
1answer
495 views

How to better understand trading signals?

I am looking to get a better understanding of an output from a trading strategy. Basically I have a daily equity curve lets call it $Y_t$. I have defined a bunch of independent variables $X_{it}$ that ...
2
votes
1answer
222 views

What is the difference between these two optimization procedures?

In this portfolio optimization utility (and others), mean return, standard deviation and correlation among assets are required inputs. http://finance.wharton.upenn.edu/~stambaugh/portopt.html At ...
3
votes
2answers
280 views

Is it true that pricing an IR swap doesn't require any stochastic model but calculation of the PFE of an IR swap would?

Pricing an IR swap doesn't require any stochastic model but calculation of the PFE for an IR swap would require the Hull White Model or any other stochastic short rate or forward rate model. Is ...
6
votes
3answers
1k views

Using rolling returns in a multivariate linear regression?

I am trying to use fundamental factors such as PE, BV, & CFO in a multivariate linear regression with the response variable being the rolling 1 month returns. But this approach seems flawed as the ...
3
votes
1answer
481 views

Why does Skew measure remain more-or-less constant for Listed Expiries?

I have looked at the Variance Swap Papers published by GS-VarSwap and JPM-VarSWap where they talk about approximation to VarSwap strike using ATMF vol and Skew (slope of the volatility skew for 90-110 ...
2
votes
1answer
439 views

How to automate the margin requirements for Eurex markets?

I'm looking at automating the calculation of margin requirements for a portfolio of Eurex markets. Eurex describe the margin calculations in this document. However, the only tool I can find is a ...
1
vote
2answers
138 views

Derivatives with a floating Libor leg

If Libor is found to be fraudulently fixed, are any of the derivative contracts with a floating libor leg still valid?
6
votes
1answer
2k views

How can I use Entropy-pooling of Atillio Meucci to constuct a portfolio?

I am trying to get my hands on Entropy Pooling which was introduced by Meucci in this paper. As an example, assume I want to construct a portfolio with five stocks and I have my view on CVaR. How ...
1
vote
1answer
410 views

Calculate historical (ATM) option prices with public data

I just saw the question How to calculate the most realistic historical option prices with additional publicly available parameters and I am interested in the step before that. How can I calculate ...
4
votes
1answer
270 views

How to measure a non-normal stochastic process?

If I understand right, Itô's lemma tells us that for any process $X$ that can be adapted to an underlying standard normal Wiener measure $\mathrm dB_t$, and any twice continuously differentiable ...
1
vote
2answers
267 views

Proxy for risk in portfolio theory when return can take only two values

I'm trying to adapt tools from portfolio theory for another use, and I have a question about how I might do so. Suppose that instead of having normally distributed returns, the return $R_i$ is ...
1
vote
1answer
165 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 ...
-1
votes
1answer
2k views

Can someone explain what “Exotics Trade Capture” capture means in layman's terms?

I am trying to find out what Exotics Trade Capture entails. I can't find anything on Google that isn't a job posting, which is where I saw this term. Say you did this for a living, how would you ...
5
votes
1answer
581 views

Proof for non-positive semi-definite covariance matrix estimator

It is well known that the standard estimator of the covariance matrix can lose the property of being positive-semidefinite if the number of variables (e.g. number of stocks) exceeds the number of ...
8
votes
1answer
754 views

Musiela parameterization

I have a question regarding the proof of the Musiela parametrization for the dynamics of the forward rate curve. If $T$ is the maturity, $\tau=T-t$ is the time to maturity, and $dF(t,T)$ defines the ...
11
votes
3answers
680 views

Optimal execution strategy

Can someone shed some light on optimal ways to execute medium sized orders ~2000 shares in the market? Unfortunately the execution algo I have access to is very dumb. It follows the top-of-book ...
5
votes
1answer
606 views

Sanity check - How to price callables

This question is meant as a sanity check whether i got the workflow right for pricing callable bonds. If anyone finds a mistake, or has a suggestion, please answer. The workflow is: For every call ...
4
votes
2answers
255 views

What sort of order submission strategy would result in a random walk of trade prices?

I have written a simulation that matches buy and sell orders, keeps track of an order book and simulates trades. My first pass at order submission was to generate random orders around the bid/ask ...
2
votes
1answer
261 views

Risk Decomposition of Index linked Bonds

Do you know how to decompose the risk of index linked bonds? To value a inflation linked bond, one plugs the real zero curve into the bond PV calculation, the real interest rate is as the fisher ...
-2
votes
1answer
571 views

Tutorial for working with tick data? [closed]

Can you recommend a good tutorial for working with tick data for the purpose of algorithmic trading? Is the data normally stored in a database and only bits are read into memory at a time? Is there ...
2
votes
2answers
1k views

Usefulness of simultaneously buying triangular and multiple arbitrages on the Forex

I have a limited financial background but I'm trying to figure out the usefulness of buying size-n arbitrages (n > 3), and I wonder the kind of risks - if any - associated with such a strategy. Say ...
9
votes
1answer
2k views

Skewness and Kurtosis under aggregation

Returns possess non-zero skewness and excess kurtosis. If these assets are temporally aggregated both will disappear due to the law of large numbers. To be exact, if we assume IID returns skewness ...
6
votes
2answers
298 views

How do I statistically differentiate a series of prices from a series of returns?

I developed an optimization algorithm that uses returns (among other parameters) as input and basically output an allocation. As I'm pretty happy with the results, I am in the process of putting the ...
2
votes
0answers
79 views

Any thoughts on how Warren Buffet's B of A warrants might be “marked-to-market” by either counterparty?

It's not too long since Berkshire Hathaway got its 10-year warrants in Bank of America alongside its \$5 billion purchase of preferred stock. At the time I saw some discussion about the value of ...
2
votes
0answers
115 views

How to Quantify Headwinds

What are some of the best ways to effectively measure headwinds for an open ended fund? Headwinds in this case refers to the amount of volatility contributed by a factor or a set of factors to a ...
1
vote
1answer
488 views

derivation of formula for portfolio skewness and kurtosis

Where can I find derivation of formula for portfolio skewness and kurtosis? I can find formulas everywhere, but not their derivations? For example, the portfolio variance formula is well known and I ...
3
votes
1answer
353 views

How do I backfill the price of bonds for backtesting?

I need to backfill the price of bonds for testing a startegy. The method employed is: Regressing the YTM of the bond against a benchmark. Using the regression estimates to calculate the YTM for the ...
4
votes
5answers
10k views

Why do some people claim the delta of an ATM call option is 0.5?

I am looking for a mathematical proof in terms of differentiating the BS equation to calculate Delta and then prove it that ATM delta is equal to 0.5. I have seen many books quoting delta of ATM call ...
-4
votes
2answers
154 views

Quadratic Programming Problem

How I can solve the following Quadratic Programming Problem: Min[X’VX+X’GX] In this case, X is a list of coefficient to be solved for, V is a square matrix of Price returns, and G is a square matrix ...
8
votes
3answers
994 views

How does Cornish-Fisher VaR (aka modified VaR) scale with time?

I am thinking about the time-scaling of Cornish-Fisher VaR (see e.g. page 130 here for the formula). It involves the skewness and the excess-kurtosis of returns. The formula is clear and well ...
4
votes
1answer
2k views

Bootstrapping spot rates from treasury yield curve

I'm attempting to construct a spot rate and forward rate curve from the 2011 daily treasury yield curve rates provided by the US Treasury. All US Treasury securities (1m, 3m, 6m, 1y, 2y, 3y, 5y, 7y, ...
1
vote
1answer
250 views

Normalized data

I am new to this. I trained and tested my data using SVM in Matlab with the autoscale option true => the data would be normalized with unit SD. Let's say the training data have the price around 200. ...
4
votes
2answers
905 views

How do I determine the maturity date from a T-bill's CUSIP?

Is there a way to determine a government bill's or bond's maturity date by looking at its CUSIP? For example, the CUSIP for US T-Bills with a maturity of 12/1/11 is 9127953V1. As you probably know, ...
9
votes
1answer
263 views

Is a linear combination of GARCH processes also a GARCH process?

If two time series follow a GARCH process, and a third is a linear combination of them, is the third also GARCH process?
8
votes
4answers
481 views

Position management in presence of continuous forecast

Let's say we have an equity liquidity-providing model that was fitted on 1 minute bar periods. The model forecasts the 1-min next period return given the activity of the previous bars. Now, when we ...
-2
votes
1answer
149 views

Different stocks with the same stock code [closed]

Is it possible to have different stocks with the same stock code on different stock exchanges.

15 30 50 per page