# All Questions

70 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 ...
2k views

### Daily returns using adjusted close

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 ...
230 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 ...
117 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 ...
545 views

### Forex ECN for Algorithmic Trading

I'm looking for a forex brokerage that allows me to: add limit orders to the order book and trade against other clients However, when I look at the looks of fxcm, alpari, robofx, ... it appears all ...
235 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 ...
75 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 ...
202 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 ...
203 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

### Library of basic indicators

I am looking to start developing a trend following strategy and have been looking to do something in either C# or Java and wondered if there was a library or framework out there that would make ...
654 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 ...
337 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 ...
562 views

### Implications of the Riemann hypothesis in finance?

I was recently at a seminar by a top hedge fund manager at a top university for finance students, when one of the finance professors asked him what do you think are important areas of research for my ...
5k views

### What does it mean to be long gamma?

When you are "long gamma", your position will become "longer" as the price of the underlying asset increases and "shorter" as the underlying price decreases. source: ...
173 views

### How to use mean-variance weights in practice (when going short is allowed)? [closed]

I have calculated my optimal portfolio weights following the mean-variance framework where I go $w_1$ in the risky asset and $1-w_1$ in the risk free rate. I get the following result: $w_1$ = 1.5, ...
2k views

### How to design a custom equity backtester?

I was thinking about writing my own backtester and I realize I have to make some assumptions. So I was hoping I could post what I am planning on doing and hopefully some of you can give me some ideas ...
114 views

### What do these maturity codes mean?

In fitting a curve I found that people are using the following tenors: U1 Z1 H2 M2 U2 Z2 2Y Could you please let me know what exact time periods they stand for? Is there a web page describing ...
447 views

### How to calculate implied volatility and greeks in Bull Put Spread option strategy?

Ok, obviously I am buying lower strike put and selling higher strike put. What is the recommended volatility and greeks to consider in my trade? Volatility: Average volatility between both legs? ...
72 views

### How to work out weights for a portfolio based on an inverse ratio with positive and negative values?

I am trying to work out how to determine weights for the assets in order to form a portfolio. The ratio I am using is EV/EBIT, hence the smaller the better. The problem is I don't know how to handle ...
94 views

### What to do with linear regression or regression splines outside of the training range?

This is a cross-post from here In my question on a load forecast model using temperature data as covariates I was advised to use regression splines. This really seems to be a/the solution. Now I ...
108 views

### Simple question concerning Jump process (Lévy process) model for a risky actif price process [closed]

Consider $X= \left( X_t \right)_{t\geq 0}$ is a Lévy process whose characteristic triplet is $\left( \gamma, \sigma ^2, \nu \right)$ and where its Lévy measure is  \nu \left( dx\right) = A ...
1k views

### How to price a calendar spread option?

How do you price calendar spread options, that is, options on the same underlying and the same strike but different times to maturity? Clarification: I'm interested in the pricing of a a CSO ...
716 views

### How to detect structural breaks in variance?

I'm looking for a method to automatically detect structural breaks, I tried Chow test, It works good but it doens't work for breaks in variance. Do you know a test to check strucutural break in ...
562 views

### What are the options for a mathematician to break into QF without working for a fund?

I have a degree in mathematics, and I've worked as a statistician and done some programming work. I'm very strong in my math/stats/programming background and have browsed some QF books, and I'm very ...
159 views

### Why are there different estimators for stock volatility? (realized variance, RAV, etc)

I am very confused about why different volatility estimators (RV, RAV, BPV, etc) exist. If the goal is to find the best estimator for stock volatility, and volatility is latent, how do I know which ...
180 views

### Are there any well known methods of testing through-the-cycle rating systems?

Rating systems, as defined by the Basel II Accord, can be classified into two broad types - through-the-cycle (TTC) or point-in-time (PIT) - and the probability of default predicted by such a system ...
384 views

### Derivation of Ito's Lemma

My question is rather intuitive than formal and circles around the derivation of Ito's Lemma. I have seen in a variety of textbooks that by applying Ito's Lemma, one can derive the exact solution of a ...
217 views

### Applying interest rate shocks under Solvency II

I'm trying to figure out how one would apply the stress scenarios defined under the interest rate risk sub module of Solvency II. I understand that all future cash flows of an interest rate sensitive ...
112 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 ...
2k views

### What do the terms in-sample and out-of-sample estimates mean in MVO?

How do the in-sample estimates and out-of-sample estimates I so often hear authors refer to in emperical analysis of MVO differ?
279 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 ...
731 views

### Resequencing of MsgSeqNum in FIX 4.2

I am trying to achieve the following functionality using QuickFIX for FIX 4.2 Send a couple of orders and make sure they’re filled. Then disconnect. Change the incoming (from Broker) sequence number ...
524 views

### Empirical or theoretical quant insights that have shaped your thinking?

What are some quant theoretical or empirical insights that have shaped your thinking or provided a deeper conceptual basis for explaining returns and risk?