All Questions

398 views

What stock market indicators to model based on twitter feed? [closed]

We are developing an algorithm that models twitter users and groups of words that may indicate real world events. One application is modelling elections, i.e which party is likely going to win. ...
1k views

Why doesn't a simulated delta hedging process go to zero?

I put together a simple simulation of delta hedging a set of options with an underlying and it seems that the fluctuations of the price still seem to affect the final outcome. The reason, I understand ...
257 views

How to calculate two-time scale variance?

I am having trouble understanding how to calculate two-time scale variance as I do not have a strong mathematical background. Suppose I want to calculate the TSRV at 5 min intervals. Do I calculate ...
2k views

What continous adjustment methods are firms using for futures backtesting?

There are several methods available between data vendors and associated software programs to adjust futures contract data for historical simulations. Some of the methods are: 1) Back or forward ...
235 views

What are $d_1$ and $d_2$ for Laplace?

What are the formulae for d1 & d2 using a Laplace distribution?
17k views

Which brokers offer a Python stock trading API?

I would like to automate my trading strategies. My strategies are not high-frequency and are written in Python. I have a trading account in Interactive Brokers, and I know some non-official Python ...
83 views

Imputed values in a multi-index

I have an equal-weighted index on a number of different Indices (from US, Europe and Asian markets). This compound index is constructed from a time series that has missing values (for example, those ...
253 views

is there a mapping from Altman Z-score for private companies to bond ratings or probability of default?

On wikipedia, there is a formula to calculate the Altman Z-score for private companies: Z-score estimated for private firms: T1 = (Current Assets − Current Liabilities) / Total Assets T2 = Retained ...
1k views

Multiple (linear) regression

I am looking for some inputs on a pair trading strategy that I am trying to improve with some semi-fundamental input. The basic idea is to use multiple linear regression to estimate the price of a ...
368 views

time in time series database - UTC or local

I strictly store UTC time stamps inside time series files or databases, mainly to allow processing several time series together. Timezone information is kept with each time series file or item, so ...
101 views

Intangible assets as underlying for Futures contracts

How is it possible for a Futures contract to have an intangible underlying? For example, to my knowledge, there exist Futures that have interest rates as their underlying, come delivery date, how is ...
8k views

I want to chart the daily returns of a stock, and I'm using Yahoo finance data to download historic data. I was told to use Adjusted Close, but there seems to be an issue with this. For ANTO.L, you ...
274 views

Testing for stationarity in large sample sizes

I keep struggling with testing 9 samples if they are stationary. Each of these samples is a real valued time series with 714.000 values. If I use the KPSS test with the each compleete sample set, the ...
380 views

NYSE binary data, convert to ASCII

The data product "TAQ NYSE Order Imbalances" from the New York Stock Exchange is in a format that is described pretty well in sections 4.8, 4.9, 4.10, and 5 of the document "NYSE Order Imbalances ...
494 views

Quantitative risk model for an open real estate mutual fund in Europe

How useful are quantitative techniques for the risk analysis/management of a open real estate fund? I am thinking about an approach for Europe (US and other markets are probably quite different - ...
1k views

What do eigenvalues/eigenvectors of the yield/forward rates covariance matrices mean?

I have 5 bonds (with maturities 1,2,3,4,5 years) which I calculated the yield curve for 10 days. I also calculated the forward rates from the yield rates. Now I've been told to calculate the ...
4k views

Kelly criterion and Sharpe ratio

Whats the relationship between the Kelly criterion and the Sharpe ratio? $$f=\frac{p(b+1)-1}{b}$$ where $f$ is a percentage of how much capital to place on a bet, $p$ is the probability of success,...
222 views

204 views

Numerical difficulties in fitting option prices

In [1], the authors state that "Although some studies apply the curve-fitting method directly to option prices, the severely nonlinear relationship between option price and strike price often leads to ...
188 views

Liquidity in a market risk model based on historical simulation

I would like to model liquidity effects in my risk model which is based on historical simulation. I would like to develop a practical solution that still captures liquidity effects. Most probably I ...
218 views

Estimation of ranks of log-returns via copula

I have successfully chosen and estimate a copula for the ranks of the log-returns of my actions. My question is, since I have worked with the ranks instead of directly the log-returns (in order to be ...
2k views

Topological methods in finance

Recently a promising start-up (Ayasdi) has made headlines. They are a spin-off of the Applied and Computational Algebraic Topology group of Stanford University (ComTop). What they basically do is ...
1k views

Robust Bayesian portfolio optimization in matlab?

I am working through this paper. I want to implement the robust Bayesian optimization (see pages 6 onward) in Matlab using fmincon. Here is a brief overview of my problem: Let $\alpha$ be the ...
485 views

I would like to ask about maybe obvious thing for many people, but cannot find a good answer for it. In many, many places I see OHLC data along with OHLC analysis tools. As I deduce step by step in ...
397 views

How to quickly sketch a second order greek profile for a vanilla position?

Assume that you are given an arbitrary payoff profile for European vanilla position (e.g. butterfly). How to make a back of the envelope sketch of a second order greek profile for it (i.e. plot ...
404 views

How do you estimate the capacity of a strategy from historical data?

What are some good ways to estimate the capacity of a strategy from historical data (including full market depth)? Obviously, a naive approach is that you want the strategy's returns to exceed its ...
192 views

Are Papers and Funds reporting Monthly drawdowns using daily granularity?

I'm curious as to how many academic studies and industry white papers are actually using daily data to report intramonth drawdowns; specifically, when the papers are often reporting monthly signals, ...
510 views

A non parametric study of VaR with kernel density

I'm working in order to compare the calculation of the VaR between the methodology of copulas and kernel density, all this by using the software r. The process that I follow is: Obtain a sample (...
809 views

Liquidity detection based strategy in HFT

This article contains the following statement. In terms of liquidity detection, traders intend to decipher whether there are large orders existing in a matching engine by sending out small ...
2k views

What is the industry standard Quant Finance modeling library for F#

If it exists, has been agreed on, and F# programmers have used it extensively, I would like to know what is the industry standard Quant Finance library for F#. What typical finance scenario(s) have ...
190 views

Are there any derivatives which pay amount $a(p-b)^{2}-c$ where $p$ is the price of underling asset?

Are there any derivatives which pay amount $a(p-b)^{2}-c$ where $p$ is the price of underling asset ? (or in the case of options $max(0,a(p-b)^{2}-c)$) I'm not very strict here but I only want to know ...
Suppose we are in the mean-variance optimization setting with a vector of returns $\alpha$ and a vector of portfolio weights $\omega$. In a robust setting, the returns are assumed to lie in some ...
There is a vast literature on copula modelling. Using copulas I can describe the joint law of two (and more) random variables $X$ and $Y$, i.e. $F_{X,Y}(x,y)$. Very often in risk management (credit ...