# All Questions

56 views

### Johansen test on two stocks (for pairs trading) yielding annoying results

I hope you can help me with this one. I am using cointegration to discover potential pairs trading opportunities within stocks and more precisely I am utilizing the Johansen trace test for only two ...
24 views

### short term trading does it really add value and to whom?

Short term traders who flip their stocks within 5-10 minutes, do they really add value to any one? Text book answer is yes, they help price discovery and provide liquidity. Within that 5 minutes ...
47 views

### When would dedicated portfolios do better than 'immunized' portfolios?

We just learned about cash-matching through dedicated portfolios (using risk free bonds) in my class that concerned mathematical programming. However, in an aside one of the notes said: It should be ...
3k views

### Appropriate method for calculating negative returns on a trading strategy?

I have a cumulative profit/loss time series below for a trading strategy, what is the appropriate way to calculate the returns in percentage for such a series? My issue is the appropriate ...
57 views

### Combining modern portfolio theory and Kelly betting?

I'm using modern portfolio theory to compute the frontier of efficient portfolios. I'd like to pick the best one in the spirit of Kelly betting, ie. maximising expected growth. I'm looking for a ...
284 views

### Black-Scholes formula with deterministic discrete dividend (Musiela approach)

For deterministic discrete dividend, there are two approach Musiela approach, works when every dividend are paid at maturity of the option. Hull approach, works when every dividend are paid ...
61 views

### Measure the effect of a natural disaster on a stock market index

I am very new to using stata and very new to using Garch models. I am currently doing my final dissertation for my MSc in Finance studies and regarding my topic I understood that i had to use garch to ...
231 views

### Where can I get historical fundamental data for multiple companies in a single CSV file?

Summary I seek an explicit reference to a source that gives me a fixed URL, e.g. http://example.com/?isin=US1912161007 or ...
20 views

### Risk neutral pricing formula justification in incomplete markets [duplicate]

I'm having trouble understanding how to justify the use of the risk-neutral pricing formula $V(t) = \mathbb{E}^{*}[e^{r(T-t)}H(S_{T})|\mathcal{F}_{t}]$ in models which are characterized by ...
15 views

### How was the adj.close for RIG calculated after Transocen - GobalSantafe merge

Yahoo's algorithm for adj.close calculation is pretty clear, as explained in the link. Said that, however, the values for RIG till 2007-11-26 don't follow such rules, as shown here. Indeed, if one ...
13 views

### Modeling EOD ETFs price returns together or individually?

Let's say you want to model the next day price returns for a set of US equities large cap ETFs (a relatively homogenous group). Would you model all the ETFs as a single, 15 years data set, or each ETF ...
14 views

### negative yield (interest rate) and Option Pricing [duplicate]

If i have negative yield (interest rate) can I still proceed with Standard Black and Scholes or Simple Binomial Model? any Adjustment is required to the model? how does it effect the pricing model in ...
54 views

### French Data from daily to monthly returns

Ken French on his website publishes daily, monthly and yearly returns for the Fama-French 3 Factors model which are excess market (Rm-Rf), small-minus-big (SMB) and high-minus-low (HML) returns. I ...
38 views

### What's the disadvantage of using linear programming for portfolio optimization?

I am a MFE student and we have project on the Markowitz portfolio optimization problem. i am wondering how much impact there will be, if I use a simpler linear optimizater instead of a quadratic ...
27 views

### Values for Heston Model Parameters

Under the Heston model, the stock price and volatility follow the processes \begin{align*} dS & = \mu S dt + \sqrt{V} S dW^1, \\ dV & = \kappa (\theta - V)dt + \sigma \sqrt{V} dW^2, \\ dW^1 ...
5k views

Does anyone know of a utility that can download historical Implied Volatility (IV) data from Interactive Brokers' Trader Workstation?
70 views

### How to calculate cash flow for XC swap

Given 3MLibor vs 12MLibor USD basis swap the 3M Libor is exchanged at 12MLibor+1%. How to calculate the cash flow
70 views

### Is the Black-Scholes model price a bijection on the interval of static arbitrage free prices

Consider some stock with observed price $S$ and a call option on the stock with value $C$, time to maturity $T$ and strike $K$. Assume there is a constant, continuously compounded interest rate $r$. ...
1k views

### Using rolling returns in a multivariate linear regression?

I am trying to use fundamental factors such as PE, BV, & CFO in a multivariate linear regression with the response variable being the rolling 1 month returns. But this approach seems flawed as the ...
90 views

### where to get long time historical intraday data?

I am looking for long time historical intraday day data on the S&P500 composite for a time horizon like 10 years with a - for example 10-minutes tick - or prices for call/put options on the ...
145 views

### Forex P&l Attribution on Physical Forward position

Please validate my unrealized Fx P&L calculation on the commodity forward contract e.g. consider i have bought 1 MT of wheat at 300 EURO my financial currency for company is USD. I am using below ...
65 views

### Black-Scholes formula with deterministic interest rate and dividend yield

Does any one have the Black-Scholes formula for a European call with time-dependent but deterministic interest rate and dividend yield ?
154 views

### How do I calculate the PPP adjusted exchange rate between two countries?

I have been trying to calculate the PPP-adjusted EURUSD exchange rate. I am not sure if it is the same as relative PPP, for which I have used this formula: Spot rate at time t = Current spot rate * ...
29 views

### Identifiability of a state space model (Dynamic Linear Model)

Take a general linear Gaussian state space model (SSM)(aka Dynamic Linear Model DLM): $X_{t+1}=FX_t + V_t$ $Y=HX_t+W_t$ $V_t \sim N(0,Q)$ $W_t \sim N(0,R)$ I am interested in the ...
38 views

### Probability of Closing Stock Price Over a Defined Period

I found this equation when I was reading "Paul Wilmots on Quantitative Finance" which calculates the probability that of a stock price ending/landing on a particular price (S'). So if the stock ...
1k 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 ...
134 views

### How to implement Konno's Mean-Absolute Deviation Portfolio Optimization Model using LP methods in Excel

Konno proposed a LP method for portfolio optimization using the Mean Absolute Deviation (MAD)
78 views

### How to use quantlib with excel?

I installed an quantlib on my mac, but have no idea, how to start using it with an excel. Please advise hoq to do it. I followed all instructions here: http://quantlib.org/install/macosx.shtml. I ...
245 views

### What are the main market efficiency measures in the stock market?

I'm going to test for the effect of the change in market efficiency on the stock market portfolio, and, I want to know what are the main measures known in the academic literature in order to compare ...
143 views

### Set up sharpe ratio with 2 risky portfolio

You are considering an investment in the stock. In the stock market, there are two risky stocks (A and B) and a risk free claim, C (you can think of it as the t-bill). The covariances and returns of ...
85 views

### Solving the Bootstrapping equation when matrix is non-square

I am trying to construct a Zero Coupon Yield curve for US Government Bonds from market data (coupons, face values, prices, months to maturity) via Bootstrapping. However, I am not too sure how I would ...
270 views

### Moving window forecasting in Python

I am looking to create some code that will out-of-sample forecast the HAR-RV model. The model itself is formulated as the following, and the betas are estimated through HAC-OLS or Newey-West. ...
19 views

### Where I can find the conventions used in building an FX volatility surface?

Here are some conventions used in building the EUR/USD volatility surface. I need to validate these fields: Base Currency: EUR Term Currency: USD Spot Lag: 2bd Interpolation Variable: ...
38 views

### Calculate put price with Black-Scholes and one discrete dividend

I try to solve this exercise: a) Calclculate the price of a 3-month European put option on a non-dividend-paying stock with a strike price of 45 when the current stock price is 40, the risk-free ...
48 views

### Calibration of non-mean-reverting OU process

I'm looking for some reference on how to calibrate a non-mean-reverting Ornstein-Uhlenbeck process to historical data using MLE or OLS. The model has the following SDE: ...
50 views

### Asian Option with Geometric Averaging

Can someone point me to any notes on how to derive the closed form formula for Asian geometric average option with payoff $\text{max}\left(\text{log}\left(\frac{A_T}{K}\right), 0\right)$ where $A_T$ ...
27 views

### Test Log-Normality for LIBOR forward rates under the Libor Market Model

As far as I understand, under the Libor Market Model the forward rates are assumed to have a log-normal distribution. Given that I have constructed my LMM model and now have a matrix of: k different ...
29 views

### American put option and rising interest rate

Will a rise in interest rate always result in a lower price of an American put option?
59 views

### Quantitative Real Estate Investment Finance

I'm wondering if there is an application of quantitative finance to real estate investment? Specifically I'm wondering about models for pricing small neighborhoods (or even single houses) that take ...
86 views

### Calculate the realised volatility from a time series

Does anybody know how to calculate the realised volatility from a series for a certain time frame? For example, I am looking at 5 days, 21 days, 63 days, 126 days and 253 days. thanks
55 views

### What are Barra style factors useful for?

I'm reading the paper's summary of: Beckers, Stan, and Jolly Ann Thomas. "On the persistence of style returns." The Journal of Portfolio Management 37.1 (2010): 15-30. about how some of these ...
31 views

### How to construct a cointegrating vector using more than 2 price series in R?

I use now this code from hier Why does the following data fail my cointegration test? with slightly modification of possibility to load something directly from Dropbox file storage . ...
46 views

### How to deal with missing returns when creating value (equal) weighted returns

recently I am doing cross sectional regressions, and getting confused about missing returns. Suppose we have 100 stocks, then we want to construct a value weighted return (or equal weighted return). ...
265 views

### Why is $C(t,S_t)/B_t$ a martingale?

In the derivation of the Black-Scholes formula given by Joshi (extract below), he says $C(t,S_t)/B_t$ is a martingale. Why? I understand this can be deduced from the Black-Scholes PDE since the drift ...
49 views

### Issue with Naive Bootstrapping (US Government Bonds)

I am using the formula here to determine the discount factor function. I get the data for Coupons, Face Values and Closing Prices from Thomson Reuters, which I insert into the Dataframe ...
15 views

### Complex yields occur for some sets of cash flows

My question is not inherently related to Matlab but if there is a solution using Matlab that would be great. I have inherited some Matlab code that uses the function bndyield to get the yield of some ...
351 views

### Consistency of economic scenarios in nested stochastics simulation

I am interested in references on research regarding the consistency of economic scenarios in nested stochastics for risk measurement. Background: Pricing by Monte-Carlo: For pricing complex ...
119 views

### Time value of option not always leading to an increased option value

My understanding was that as you increase the time to expiry of an option, the value of the option increases. However, I have run a bunch of scenarios and have realized that if you assume a dividend ...