0
votes
1answer
48 views

Does it make sense to interpret autocorrelation and box test on 5 data points?

I am trying to see if after I trade a stock the price movements at 2, 5, 7, 10, 30 and 60 seconds after exhibit any autocorrelation. Below I have the returns from my trade price to the trade 2,5,7,10 ...
0
votes
0answers
30 views

GARCH estimation does not work, error in my returns?

Hey everyone and I hope that there are some smarter people out here that can help me out with my problem...: I have trouble with my implementation of a GARCH(1,1) model and I do not know how to move ...
0
votes
3answers
69 views

Numerical Solution to BS PDE - Digital Option

Here is a relatively simple question about PDE's pricing. Assume that we are within the BS framework and moreover that interest rate is zero. The price $V(t,S_t)$ of the digital is known to be ...
1
vote
1answer
37 views

Option writing optimal sell time

When selling options, e.g. a straddle I read often the optimal time for selling options is 30-40 days until expiration. For me intuitively the optimal time would be around one week until expiration ...
1
vote
1answer
12 views

Where do Over-allotment (Greenshoe) option shares come from?

I'm just wondering, if following an IPO the share price goes up and the underwriter calls the option, where do those extra 15% shares come from? Does the company have to issue more stock to cover the ...
23
votes
7answers
2k views

Is R being replaced by Python at quant desks?

I know the title sounds a little extreme but I wonder whether R is phased out by a lot of quant desks at sell side banks as well as hedge funds in favor of Python. I get the impression that with ...
-2
votes
0answers
32 views

Why Doesn't my Limit Order Appear in the Order Book?

I'm curious as to what makes up the Bid/Ask book. Any limit order I place seems to be disregarded. Shouldn't the limit orders I place have an impact on the Bid/Ask book and be reflected when it ...
0
votes
1answer
80 views

Asset Liability Management Test Topic Interpretation

I will write a test based on Excel and one of the topics is "The Asset Liability related analysis: including the input assumptions generation, constraints, portfolio optimization analysis and results ...
0
votes
0answers
16 views

Return.portfolio error from PerformanceAnalytics package

When using the PerformanceAnalytics package of R, I am getting an error from the Return.portfolio function whenever I ask it to rebalance_on any frequency. If the rebalance parameter is removed, the ...
0
votes
1answer
137 views

Which distribution do I get?

Let's assume the stock moves according to a classic Black-Scholes model, and makes a proportional jump with an unknown proportion. Say, it is either +1% or -3% of the stock value, and we know for sure ...
0
votes
1answer
49 views

Realized Volatility vs. Standard deviation of log returns

I am interested in calculating high frequency 5-minute intraday volatility. I am going to use the standard Realized volatility which is the square root of the sum of squared log returns. Given X is ...
0
votes
2answers
81 views

Aggregate interactive brokers data in matlab

I am using matlab and interactive brokers API. I am getting real time data using tickerID = ib.realtime({ct},'233',@(varargin)ibEventRealTimeData(varargin{:})); where ib is the interface to ...
0
votes
0answers
29 views

What machine learning method can detect serial correlation and more? [migrated]

I have a simple problem I would like to see what advantage can certain machine learning methods provide over traditional methods. Below a simply regression that has statistical significance. X(t) = a ...
0
votes
1answer
75 views

Online database of ETF & Mutual Fund Fees?

Is there any online data source of ETF and/or mutual fund fees? Free or paid is fine, although hopefully there's something out there cheaper than Bloomberg
0
votes
0answers
11 views

optimal look back period for cointegration analysis on daily prices

I'm running some cointegration tests on 2 stock pairs and was wondering, generally speaking, what would be the optimal look back period to test considering I am using daily prices and the average ...
4
votes
3answers
206 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 ...
0
votes
0answers
27 views

How is the 50% chance that the Fed will increase borrowing costs on Sept. 16-17 calculated from bond futures? [duplicate]

http://www.bloomberg.com/news/articles/2015-08-14/bond-market-says-chinese-yuan-won-t-stop-the-fed-from-moving Futures contracts indicate traders see a 50 percent chance the U.S. central bank ...
0
votes
3answers
89 views

Is it realistic to assume that the current price of a stock takes into account the probability of it going up or down in the future?

I'm currently reading the following lecture notes: http://www1.maths.leeds.ac.uk/~jitse/math2515/lecture04.pdf On the second page, under the subsection titled "The Risk-Neutral World" it points out ...
0
votes
1answer
22 views

Why does increased stock borrow costs decrease a stock's forward price?

The author in this article -- http://streetwiseprofessor.com/?p=7294 -- states that an increase in stock borrowing costs decreases a stock's forward price: In the absence of manipulation, the ...
0
votes
1answer
41 views

How can I compare two mutual funds' performance with a sparse set of data?

I want to compare the performance of two mutual funds. The only data I have is annual returns for the past 7 years. So I have 7 observations for Fund 1 and 7 observations for Fund 2. In addition, I ...
1
vote
2answers
54 views

Portfolio Return Contribution by Sectors

I have a table containing the following fields: Date, PortfolioReturn, CashReturn, Sector1Return,...,Sector10Returns 'PortfolioReturn' is the sum of CashReturn + return contributed from 10 market ...
1
vote
0answers
50 views

Financial theory

Ok guys, I'm studying from Danthine and Donaldson - Intermediate Financial Theory. The book itself doesn't have a lot of worked examples, and I'm lacking the basics for understanding some concepts ...
4
votes
1answer
127 views

CNY Devaluation: Why EUR up, USD down?

The second unexpected devaluation of the Chinese currency CNY caused some turbulent market movements in currencies today. I was surprised that the EUR went to a 1-week high against the USD up by ...
2
votes
2answers
159 views

Real world monte-carlo (P-measure)

Consider the 2 following approaches to pricing a security: Monte-carlo ($\mathbb{Q}$-measure) $\begin{equation} C = \frac{1}{N} \sum_{i=1}^{n} e^{-rT} max(S_i(t) - K, 0) \end{equation}$ Monte-carlo ...
0
votes
0answers
47 views

Examples for the option model validation

When implementing a code for the new model, even if it provides sensible price, it is still a good idea to compare it against some benchmarks, even in the special case of constant volatility ...
5
votes
1answer
139 views

How is implied volatility derived?

How to compute Implied Volatility Calculation? The above link shows that there multiple ways to calculate implied volatility. My question is that for most of the common data sources like Bloomberg, ...
1
vote
0answers
33 views

RealTime Data Update in Excel to Matlab [migrated]

I would like to know if someone has some experience in making Excel talk to Matlab in RealTime. I have data in Excel which are updated in realtime, but I want to see the same thing in Matlab. I know ...
1
vote
1answer
81 views

Critical Appraisal of Approaches countering Parameter Uncertainty in Portfolio Optimization

It is very hard to come up with legit and solid advantages and drawbacks of the various approaches wich are trying to counteract parameter uncertainty in portfolio optimization procedures. In my ...
3
votes
1answer
264 views

API for after and pre market data

Is there an API or APIs similar to the Yahoo! or Quandl APIs, that give the same access to pre and after market data? I know I can scrape the Nasdaq or Yahoo! Finance sites to get a pre/after market ...
1
vote
1answer
30 views

How to evaluate minimum-variance strategies against perfect information mvp

The minimum variance portfolio should minimize the standard deviation (variance) of the portfolio at time $t+1$. The covariance matrix $\Sigma_{t+1}$ needs to be estimated in order to form the mvp. ...
8
votes
4answers
6k 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.
1
vote
1answer
296 views

Key Rate Duration for MBSs greater than Key Rate Tenor

Key Rate Durations (KRD) are essentially some fixed income instrument's price sensitivity to a non-parallel shift in interest rates (i.e., a shift at the "Key" Rate). For example, a 10-year bond's ...
1
vote
0answers
31 views

Correct form for State Space Equation for Kalman Filter for DNS

In this paper: http://www.ssc.upenn.edu/~fdiebold/papers/paper55/DRAfinal.pdf in eqns 3,5 the state eqn has the mean removed. $(z_t-\mu)=A(z_{t-1}-\mu) + \epsilon_t$ $y_t=C z_t + \delta_t$ ...
5
votes
1answer
156 views

Calculate turnover for portfolio

I am trying to calculate the turnover for a portfolio strategy. First I generate some random data and assign it dates: ...
0
votes
1answer
37 views

When the two time series with different length, how could we analysis them with a bivariate GARCH model?

At this moment, i need to do the analysis of rouble/us dollars exchange rate and the stock market index in Russia, I prefer to do that in a multivariate GARCH model. However, I have a question about ...
0
votes
1answer
32 views

Determining significant difference between to return series

I want to analyse whether two return series are different. I was told to run the following regression: ...
0
votes
0answers
90 views

predict next day's close price using hmm

I am reading this paper(Stock market forecasting using hidden Markov model: a new approach) and get confused about how they predict the next day's close price. Below is what the authors say about how ...
0
votes
1answer
34 views

Percentage of Russell 2000 stocks listed on NYSE and Nasdaq?

Is there a way to find out how many of the Russell 2000 stocks are listed on the NYSE and how many on the Nasdaq?
0
votes
0answers
22 views

Calculate Forward Rate under CIP - differs from qouted rates, why?

Hello everyone out there, I am quite new here, but hope you are helping me out, nevertheless. By assuming that we have CIP I want to calculate the 3M Forward rate for EURUSD. I use the known formula ...
5
votes
4answers
156 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 ...
1
vote
2answers
80 views

Order Execution Algorithms

To execute large orders under minimum price impact or to hide a market view, trading systems sometimes utilize special order execution algorithms or order types. One example is an iceberg order, ...
6
votes
2answers
2k views

How to use Merton model to calculate default probability with monthly stock prices?

I want to calculate the estimated default probability with only given data the monthly returns for the last 20 years, the risk-free rate ($R_f$), equity value (EV) and the face value of debt ($D$). My ...
0
votes
0answers
42 views

where can I get the intraday data for S&P 500

I am trying to analysis the price of S&P 500 during the flash crash in 2010. Where can I get the data?
1
vote
0answers
29 views

More cache friendly linked list or alternative with optimal append, delete, and ordered traversal for limit order book?

I am trying to implement a stock matching engine/order book in C++, and am searching for a more cache friendly architecture. Currently, my data structures are as follows: An intrusive rb-tree for the ...
2
votes
1answer
61 views

Why AREN'T forward rates what the market expects of the spot rates?

I know that for a swap for example, the swap rate is just what adopts equilibrium for both legs by no arbitrage, on the other hand for a FRA its just the same only with one period of time. Considering ...
2
votes
1answer
170 views

How to adapt a Moving Average period to market conditions?

I would like to know if there is some way to adapt the period of a moving average to market conditions like for instance the stop loss can be adapted to market conditions using the average true range. ...
0
votes
1answer
116 views

What is the correlation of and Index's dividend yield relative to its constituents?

I would like to know if the dividend yield of and index is correlated with the dividend yields of it's components separately? The purpose of this, is to use the dividend yield of the index as a proxy ...
8
votes
2answers
367 views

GARCH model, expectation of volatility?

Consider a time series $\{r_t\}$ following a standard GARCH(1,1) model, i.e., $$ r_t = \sigma_t \epsilon_t,$$ where $\epsilon_t \sim N(0,1)$ and are i.i.d, and $$\sigma_t^2 = \omega + \alpha_1 ...
0
votes
2answers
142 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
1
vote
3answers
64 views

Why is the spot price not used as the forward price when a forward contract is created?

If the initial value of a forward contract is zero, surely the forward price used would be the spot price at the time the contract was created? However, my notes tell me that the forward price F, at ...

15 30 50 per page