# All Questions

82 views

### Delta in Covered Calls?

Just want to check whether i understand it correctly: Long Calls have positive delta Long Puts have negative Delta Long stock has 0.01 delta 100 Shares have 1 delta Therefore: Covered Call = 1 ...
73 views

### Market Standard Pricing Models for Fixed Income Securities (Vanilla)

To clarify my heading, I have been searching for a material that consolidates all standard Fixed Income Security Pricing. E.g. ...
112 views

### Setting up Schedule for an amortizing floater in QuantLib

I am unsure as to the exact arguments required for the Schedule function for an amortizing floater - my code is listed below. Specifically, my question pertains to whether the schedule should always ...
263 views

### Differential equation for log-returns

I have a question that might be trivial to most of you, but somehow I'm not able to solve it by myself. I have a disagreement with my colleague on the distributional properties of a Geometric Brownian ...
183 views

### Is there a contradiciton between option prices being martingales and the use of options for speculation?

It seems like there is a contradiction between the fact the option pricing is risk-neutral and the large amount of option trading that is done for speculation. Since the option is risk-neutral, a ...
144 views

### In Mean-Variance Analysis, why not the efficient frontier being pushed to the left near the axis?

I took some classes in portfolio theory, and learnt the Markowitz Mean-Variance Analysis. If only two risky assets, the efficient frontier would be a hyperbola passing through the two points; now if ...
130 views

### Implied term structure from risky discount curve: does it make sense?

We know that, taken every discount curve, it's possible to calculate its forward rates according to our tenor preferences. We know also that it's actually possible to extract an implied term ...
119 views

### FIX- what exactly do repeating groups represent?

I am trying to find out what is the purpose of "repeating groups" in FIX and what exactly do they represent? Are they all related to the same order and if so, why do you need repeated tags? If they ...
47 views

### Calculating the error of a Trinomial Model

I've been trying to find a formula to obtain the maximum relative error a trinomial model with n timesteps will incur given all other inputs as compared to the standard BSM model. I'm concerned mostly ...
92 views

### Automatic fixing of missing floating rate in QuantLib's addFixing()

Due to the periodic fixing of floating rate bonds's coupon rates, in order to calculate the bond clean price one must tell the pricing engine to account for previous LIBOR rate fixing. If I am right ...
55 views

### Which method is implemented by Excel's YEARFRAC for ACT/ACT?

I know the algorithm used by Excel to calculate the YEARFRAC(startDate, endDate, basis) for basis=1. Excel calls the method "act/act". A Java re-implentation of Excel's algorithm can be found at ...
121 views

### Robust Returns-Based Style Analysis

Sharpe's Return-Based Style Analysis is an interesting theory but flawed in practice when working with long-short funds or funds that are changing strategies over shorter periods of time due to the ...
91 views

### Definition of “tenor” argument in QuantLib's Schedule class object

In QuantLib an object of class Schedule takes const Period &tenor as argument. I would ...
87 views

### Question regarding the valuation of convertible bond

I would like to ask a question about the valuation of convertible bond using binomial tree. It is known that the CB can be valued as debt and equity component using risky and risk-free interest rate ...
268 views

### Calculating arbitrage- S&P 500 stocks vs S&P 500 Index future?

How exactly would I go about investigating whether the S&P 500 stocks were currently over-valued compared with the price of the S&P 500 Index futures contract? Is it just a case of taking each ...
191 views

### Is this methodology to calculate Alpha using multi-factor regression model correct?

I am trying to find out Historical Alphas of a bunch of fund returns ${F_i}$ by Using Regression Model$(stepwise)$ with regressors as its underlying exposure-returns(risk-free rate subtracted) i.e. ...
78 views

Is there a quant model that can help estimate how much slippage one would have to give up in order to get an "option spread" (vertical, butterflies, etc.) order executed? What factors should one look ...
171 views

### Time series analysis on illiquid price data?

Say for example I have the following company in some specialized industry: A - Company that is about to be listed in Exchange 1, i.e., no price history B - Company that produce similar products as ...
264 views

### Fitting a GARCH BEKK model

I am trying to find whether there is significant volatility transmission between two price series (t=1000). A literature review learned me that the GARCH BEKK model is suitable for this. The SAS ...
246 views

### Are there any other standard rates term structure decomposition than PCA?

PCA is sometimes used to estimate components in the rates term structure. Are there any other standard method discussed in the literature or used in practice, what are their advantages and ...
53 views

### Input for unanticipated risk premium estimation

In the paper "Economic Forces and the Stock Market" by Chen, Roll and Ross, unanticipated risk premium (URP) is tested as a potential risk factor for stock returns. This factor is commonly calculated ...
55 views

### How to choose a window for curve fitting and prediction?

I am using Pareto distribution to fit a serie of survival rates (with least square). My ultimate goal is to use this fitting curve for prediction. Thus I would mainly focus on the tail of the ...
148 views

### Testing the validity of a factor model for stock returns

Consider the following m regression equation system: $$r^i = X^i \beta^i + \epsilon^i \;\;\; \text{for} \;i=1,2,3,..,n$$ where $r^i$ is a $(T\times 1)$ vector of the T observations of the dependent ...
74 views

### How to show that the risk contribution function is or is not injective?

Assume a portoflio $w \in \mathbb{R}^n$, you can get the total risk contribution $\psi_i$ of asset $i$ by doing: \psi_i = w_i \frac{\partial \sigma(w)}{\partial w_i}= \frac{1}{\sigma(w)} \left[ ...
137 views

### Long/Short portfolio return

Suppose I have a Po with one long, one short positions and some cash (to balance the short + 50% margin) as shown below: ...
205 views

### Transaction Data with Participant ID

For my master thesis, I need high-frequency data with the market participant ID or which identifies the trading parties, respectively. I don't need the entire orderbook but just the matched orders ...
237 views

112 views

### Test for stationarity and make use of non-stationary points in financial market?

I have two questions to ask: What are the best methods to determine stationarity in a financial market (such as stocks) using MATLAB? What methods would you recommend to use in order to change from ...
296 views

### Ordering of CME Level 2 FIX Market data?

The following link contains a file containing CME Level 2 FIX Market/Orderbook data for Corn futures: ftp://ftp.cmegroup.com/datamine_sample_data/md/mdff_cbt_20130714-20130715_7813_0.zip However, ...
109 views

### Should I use Resampling or Expectation Maximization to compute a robust covariance matrix?

I have several assets, each with different return histories. Some of the assets have 75 days of return history, others have 40 or so days. In calculating a robust covariance matrix, should I be using ...
256 views

### Monte Carlo Options Probability Calculation

I have a fairly simple problem for an application I am writing currently. How do you calculate the options probability of being in the money or touching a certain strike price. I know there are at ...
151 views

### For a interdays trading backtest system, should I put day open, close, high, low, volume separately into array?

I think there are two possible ways: 1. day open, close, high, low, volume separately into array, then I have 5 arrays to work with my calculation 2. Put all of these into one array or linklist to do ...
111 views

### QuantLib error with qlPiecewiseYieldCurveData() on qlPiecewiseYieldCurve() with ZeroYield and ForwardRate

I'm using QuantLibXL to build a discount curve, a zero yield curve and a forward curve of the EURIBOR rate (QuantLibXL is downloadable here). I've built an object of class ...