# All Questions

57 views

### Martingale Stock Prices

In http://www.principlesofforecasting.com/files/pdf/Granger-stockmarket.pdf Granger makes survey of some arguments. In section I there are two hypothesis H01, and H02. H01: Stock prices are a ...
47 views

### How to projectP&L or drawdowns on pair trading , trading and portfolios?

This is for planning and risk management. I am stuck on the following thoughts - Back-test the trading strategy for a period similar to the one you expect and then project. Do the above using ...
322 views

### Are there Python algorithmic trading libraries supporting forex?

I know about zipline and ultrafinance, but as far as I know, they don't support fx trading. Which libraries do?
66 views

### How to see the impact of one variable on a set of other variables?

Thanks for your reply!! So I will explain a bit more of my problem. I want to perform a stress test on my portfolio of equities. So basically, I want to see the impact of shock in macroeconomic ...
70 views

### Correlation of asset to portfolio, given certain variables

Ultimately I'm trying to calculate stdev contribution, but I've hit a hurdle. What I have: 20x20 correlation matrix for various assets Standard deviations for each asset Returns for each asset ...
97 views

### Econometrics - Testing

If we have a time series of returns and two time series of indicators, how would we test the use of these indicators if they are autocorrelated or nonstationary (VAR Models dont produce significant ...
105 views

### Divergence between binomial pricing and monte carlo simulation for vanilla european call?

I notice a divergence in my own code, but it's evident even in public code: http://www.thalesians.com/finance/index.php/Knowledge_Base/Finance/Option_Pricing_in_Python_and_Simple_English Pricing a ...
49 views

### How to benchmark bonds?

I am trying to find for each european bond in my database a proper Benchmark to compare them with the Bloomberg benchmarks for bonds. What i have done so far is to extract a list of all government ...
82 views

### Valuing a warrant on a warrant

How would you go about valuing a European warrant that entitles you to a) 1 share of a company and 2) 1 warrant on that same company?
71 views

### IP API Active X for Excel refresh rate

I have been working on the EXCEL DDE sample worksheet and works fine and now I would to upgrade to ActiveX instead of DDE as I heard it is more robust but I found the refresh rate of ActiveX is even ...
139 views

### Is the market really Normal. Is Implied Volatility Historically Correct?

Ok. So as of 6/10/2014's market close the SPY was 195.6 and the VIX closed at a ridiculous recent low of 10.99. Now because the VIX (IV) is the implied volatility of 1 month contracts on the SPX and ...
53 views

### Minimum Variance Hedge Ratio in Binomial Framework

In order to find the minimum variance hedge ratio when holding a portfolio of vanilla call options and hedging with stock, you can do an OLS regression. In a binomial model framework, given ...
141 views

### 2 stocks, no shorting vs shorting. (concrete questions, mean-variance)

I'd appreciate help with the following questions. Suppose there are two stocks $A$ and $B$ with expected returns $E_A, E_B >0$ and volatilities $v_A, v_B >0$, respectively . Also, suppose ...
174 views

### hedging with known volatility

Suppose we have a stock $X$ at which trades at 100 dollars. We suppose the stock follows a geometric brownian motion. We know that the interest rate is zero and annual volatility is 10 percent. How ...
46 views

### Correlating random numbers seems to skew the data

First off, apologies for the cross-post from mathematics, but I found this site later and think it would be a better fit for the question (besides, there has been no comments/answers on mathematics ...
92 views

51 views

### robust regions in grid search

I have a strategy f that takes parameters x,y (for x,y taking values in integer ranges). I get two grids (of returns and volatility values) from computing f(xi,yi) for integer ranges x1 <= xi <= ...
61 views

### Obtaining Expense Ratio Data

I have a list of tickers (~11,500) in a .txt/.csv file and accompanying fund data from yahoo finance. I'm wondering if there is a reasonably easy/accessible way to use this list to obtain expense ...
47 views

### How to convert HJM model risk-neutral measure $\mathbb{Q}$ to real measure $\mathbb{P}$?

HJM model, $df(t,T) = \mu(t,T) dt + \xi (t, T)dW(t)$, is defined in risk-neutral measure $\mathbb{Q}$, according to Brigo's "Interest Rate Models" book. I wonder, how could I transform it to real ...
85 views

### Shorting 'pump and dumps' legal?

Ive seen my junk inbox overflowing recently with a few stocks being pushed extremely heavily via unsolicited emails from a variety of 'firms', my guess is that these are done by the same individual / ...
48 views

### Isn't a perfect economic system always in debt? [closed]

Let's say in a simple world, we have 3 persons, a banker, a businessman and a worker. Then we apply the current monetary system in this economy. So for the system to get started, we need a banker to ...
841 views

### Can momentum strategies be quantitative in nature?

I have read some papers on quantitative trading strategies and it seems like strategies that focus on mean reversion or statistical arbitrage give signals that are dependent on some quantitative ...
106 views

### Non-linear Dynamical Systems and Quantitave Finance

The vast majority of what I have read about quantitave finance is to do with option pricing and time series analysis for forecasting. However the economy as a whole behaves as a dynamic system with ...
93 views

### Transaction Costs for Currency Pairs

I have been aggregating some tick data from Oanda's streaming API to try and get an idea of the relative cost and best time to trade different currency pairs. The idea was to plot the spread of the ...
83 views

### Does a delta hedged short option guarantee profit of extrinsic value at expiration?

If a trader shorts an option and dynamically delta hedges to ensure the delta is equal to 0 if that option expires out of the money does the trader profit that options extrinsic value at the time of ...
18 views

### Commodity prices on Yahoo finance [duplicate]

I tried looking for some decent way to get stock data for general commodities. I went looking on Yahoo Finance and found https://nz.finance.yahoo.com/q?p=finance.yahoo.com&s=GCN14.CMX. But this ...
186 views

### Closed form european option prices for a variance gamma process with a randomly distributed drift, volatility, and variance rate

Does an option pricing model with a closed form European option price exist that takes into account randomly distributed drift, volatility, and variance rate? I prefer a modification to the variance ...
66 views

### Inconsistent Definition of Arbitrage in Bjork?

In Tomas Bjork's Arbitrage Theory in Continuous Time (or here), $\exists$ what seems to be 2 inconsistent definitions of arbitrage: The first definition is for the single period Binomial model The ...
231 views

### Measuring historical earnings surprises, their frequency and severity

This is my first post to Quantitative Finance, so I hope my question is formatted the right way. I am starting to research the effects of earnings surprises on certain equity indices. Is there a ...
42 views

### Calculate rate of return of a stock, if there is a buy transaction occurs during the middle of financial year

Currently, I'm implementing a feature of an open source project (https://github.com/yccheok/jstock/issues/7), which requires me to calculate the rate of return of a stock. Let's take the following ...
456 views

### Quantitative Math required for Market-making?

I understand there is an awful lot of Quantitative Math required for statistical arbitrage/algorithmic trading. However, would someone "in the know" be able to tell me whether there is less ...
84 views

### The implied volatility surface and the option Greeks - to what extent is the information contained in their daily movements the same?

What is the link between option Greeks (i.e. vega, delta, gamma, theta) and implied volatility surface (IVS) movements? Could you say that their 'information content' is the same. i.e. that out of ...
99 views

### Empirical copula

I am trying to find the empirical copula linking two random variables $X$ and $Y$. I have some data available but it's limited with respect to the variable $Y$ and I am not convinced it's enough data ...
55 views

### Which is the correct definition of arbitrage?

Spin-off from here. In Tomas Bjork's Arbitrage Theory in Continuous Time (or here), $\exists$ 2 inconsistent definitions of arbitrage, which is correct? The first definition is for the single period ...
81 views

### How does logging effect Quickfix performance?

I am using .net/c++ version of quickfix. How does logging effect Quickfix performance? If I disable logging to file, can it help to increase performance of quickfix? Thanks,
26 views

### Trading days or Calendar days for Compound Annual Growth Rate?

When calculating CAGR for intervals shorter than a year (or intervals that are longer than, but not integer years in length), should you use the 252 trading days or the 365.25 calendar days? The ...
53 views

### Ability of hedge funds to transform illiquid assets

In this discussion of a Citi paper, on the impact of collateral management and rising financing costs for hedge funds, there is a quote from Sandy Kaul's statement: Sandy Kaul, head of business ...
161 views

### What are the unfair order execution/routing advantages HFT firms apparently have?

I originally thought that you have an orderbook per stock and orders would be filled on the time at which they arrive. Arrive first and you get the best price and the qty in the orderbook is reduced ...
1k views

### How to normalize stock data

Please advise how can i normalize stock prices. Recently, I've been using such formulas: Log prices = Ln(Close(t)) Close(t)-Mean (Close(t)-Mean)/(StdDev) Ln(Close(t))-Mean Is there any other ...