# All Questions

1answer
151 views

### Where do these Orders come from and what do they mean?

Good morning! I was looking at an order book yesterday and saw orders which I haven't seen before. Normally an order in the order book consists of the total volume, the price and how many ...
1answer
414 views

### Measuring Behavioral Finance Effects in Fund/Portfolio Manager Analysis

I want to know if there are some standardized measures to evaluate how irrationally human a portfolio manager is. Are there any performance measures or scorings for behavioral finance effects? How ...
2answers
1k views

### Calculate Average Price, Cost, (Un)Realized P&L of a position based on executed trades

We have built an algorithmic trading software and need to calculate the following parameters for each position in our portfolio. Average Price Cost Realized Profit & Loss Unrealized Profit & ...
1answer
51 views

### Bootstrapping Sharpe Ratios

A similar question to this was asked here: How do i test the significance of Sharpe ratio of a strategy using bootstrap I have bootstrapped the original time series (using block bootstrapping) and ...
0answers
25 views

### Asian option numerical pricing method generates a negative time value

I use R to write a function which simulates price path and calculates the value of an arithmetic Asian option. I found sometimes the value of the option can be lower than its intrinsic value, i.e., ...
1answer
247 views

### Do you know any data source for historical VWAP data?

I am looking for historical VWAP pricing data for north american equities. I haven't been able to find a free/cheap data source. Do you guys know of one ? Also, is there a way to proxy for an equities ...
0answers
19 views

### How to project video viewcount based on historicals? [on hold]

This seemed the best Stack to ask this question; the goal is to create a formula that can quickly give an indication of how a YouTube channel's video will perform in the first 30 days of its lifespan ...
2answers
73 views

### Need help on cointegration

I tried to test stock pairs for pairs trading. There are two questions I am not sure. I am not using ADF to test the log difference between two stocks. But I also see people using Johansen test. ...
1answer
534 views

### Applicability of PCA to get historical volatilities to calibrate interest rates trees

My question in short is as follows: can I take main principal component of historical covariance matrix and use it as historical volatilities when fitting a binomial tree? Here's more detailed ...
2answers
49 views

### Algo's Shadowing Limit Orders

So I was trading the option contracts on NLY (Annaly Capital Managment) today. The stock took a big dip today which piqued my interests in selling some OTM puts. Since the options market on this ...
2answers
114 views

### Filtration and measure change

I asked this question in math stackexchange but to no avail. So i'm trying the luck here. I'm reading Steven E. Shreve's "Stochastic calculus for finance II", and find myself not really understand ...
1answer
96 views

### How to Calculate Confidence Intervals for Moving Averages Given Nonindependence?

I've plotted 30-year moving averages across time for a couple of portfolios, and I was wondering how to calculate a 95% CI for the these moving average data (i.e., across all moving average data ...
1answer
89 views

### Risk-Free Rate determinant in CAPM

I have trouble understanding what type of maturity to use when calculating CAPM. My professor uses the 3-Month risk-free rate to ...
3answers
114 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,
1answer
19 views

### Can Standardized unexpected earnings be considered a Z-score

According to this wikipedia: http://en.wikipedia.org/wiki/Earnings_surprise, the SUE score is a "standardized" difference between reported earnings and expected earnings. Therefore, can the SUE score ...
0answers
23 views

### Fixed Income Swap Sharpe Ratio Calculation

I have a Fixed Income based strategy based on swaps. Q1.) Given that swaps are based on a "notional" principal and no actual exchange of principal's takes place, is it fair to assume a funding cost ...
1answer
65 views

### Which is the better risk sensitive measure?

Consider the two following optimization problem 1) $$\min_{\theta} \ln E_{\theta}[ e^{X}]$$ 2) $$\min_{\theta} E_{\theta}[ X]$$ with the constraint $$Var_{\theta}[X] <c$$ Is it true that ...
2answers
219 views

### How do Return.portfolio and Return.rebalancing work in Performance Analytics in R?

I have a question about the function Return.portfolio/Return.rebalancing from the Performance Analytics package in R. I take ...
0answers
23 views

### Calibration Problem in the LMM-Skew (Shifted Diffusion) Model

I have implemented the LIBOR market model (LMM) and I am quite satisfied with the results. I have now added a skew to the model as described in 10.1 of Brigo/Mercurio. That is, I have replaced the SDE ...
1answer
38 views

### Where can I download intraday series for DAX and S&P500 Index?

Where can I download intraday tick data for DAX and S&P500 index prices? I found only daily closing prices.
1answer
181 views

### List of 2008 NACE Rev 2 codes

Am looking for a simple list of the NACE 2008 rev 2 codes (The European classifications for economic sectors). The official publication is here, but is there an easily accessible list of the actual ...
0answers
56 views

### Beta distribution - Holding period

Let's say I have a risk factor that is defined between [0,1], such as recovery rates. Assuming I have daily data, I can estimate the "daily VaR", i.e. the tails over 1 day period, since the data is ...
2answers
50 views

### Is there a good closed-form approximation for Black-Scholes implied volatility?

While the solution for IV can certainly be reached using numerical search methods, I wonder if a high precision closed-form approximation exists. For example, there is a very robust (precise within ...
3answers
7k views

### How to compute Implied Volatility Calculation?

We all know if you back out of the BS option pricing model you can derive and solve what the options is "implying" as its volatility. However, what is the formula used to derive Implied Volatility ...
2answers
73 views

### Counterparty risk tutorials

I want to learn about the latest methods used to measure credit risk, which I believe is same as counterparty risk. Can you please direct me some links for this. I have come across a few of them but ...
1answer
68 views

5answers
165 views

### Efficient Markets Paradox

Basically all Quant Finance theory is build on No-Arbitrage presumption and Efficient Markets Hypothesis. The known Grossman-Stiglitz Paradox says: if one can't make money from trading, one wouldn't ...
1answer
25 views

### conservative approach payoff table

With the conservative approach, we choose the decision which maximises minimum payoff. I was wondering which decision is chosen if 2 decisions have equal minimum payoff (which is the maximum)? ...
1answer
572 views

### Historical volatility from close prices (Haug pg 166)

I have implemented a function for calculating historical volatility using close the close method as described by Haug on page 166. When I implemented the formula given by Haug, it resulted in some ...
0answers
37 views

### Option Prices under the Heston Stochastic Volatility Model

I was wondering if anyone has come across a more straightforward derivation of the semi-closed form solution for the price of a european call under the Heston model than the one proposed by Heston ...
2answers
248 views

### What open source trading platform are available

I would like to compile a list of open source trading platforms. Something that would give an overview and comparison of different architectures and approaches.
0answers
39 views

### Career change examples from hard sciences to finance post 35 age [closed]

Are there good examples of people who changed successfully from PhD in hard science like Electrical Engineering, Physics, Mathematics, computer Science to finance later in life (say post 35 age)? (One ...
1answer
117 views

### Validity of CAPM

I came across some literature regarding "Framing Theory" or "Prospect Theory", and the validity of CAPM. I was wondering if you could shed some light on a few questions I have in this regard: ...
3answers
192 views

### Algorithm to detect the aggressor side of a trade

Most of the exchanges provide aggressor side property of trades (e.g. Tag=5797 AggressorSide on CME) in their raw data. But many data providers do not provide this information via their datafeed ...
1answer
86 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 ...
2answers
62 views

### Back-testing Value at Risk with a WML investment strategy

I'm currently taking a course in Financial Econometrics and there is a question in the lecture notes regarding back-testing of VaR which I'm have difficulty with. First of all the procedure for ...
0answers
34 views

### What is the difference between a “cross-currency swap” and “two interest rate swaps (with principal exchange)”?

I'm currently valuing a cross-currency swap using two offsetting interest rate swaps (with principal exchange). However, I got different results. Using SWPM function of Bloomberg, I created a fix-fix ...
0answers
14 views

### Standard errors clustered along the time dimension in pooled panel logit model

I'm trying to estimate a logit model on pooled panel data set (unit of observation is firm-year). My dependant variable is default indicator and I have several macro variables as independant ...
1answer
116 views

### How to calculate the volatility matrix with multiple stocks

calculating the volatility for a single stock is straightforward. However, I'm not sure whether my approach for calculating the volatility matrix for multiple stocks is correct: I assume a log-normal ...

15 30 50 per page