# All Questions

170 views

### Measuring momentum as AR(1) process

I would like to measure the momentum in the price of a stock from the time the market opens until the time I trade each day. I want to use this momentum number in post-trade analysis (regression of ...
51 views

40 views

### Binary Option valuation problem in R using RQuantLib; also result validation aspect

When I am trying to value Binary Option using RQuantLib I am not getting all the greeks for exctype "american" wheras "european" exctype is fine. What is the problem here ? ...
32 views

### How to rightfully balance the share of the organization between departments after variable changes?

This is an abstracted version of the problem I'm facing and I have to tell you first, my question might not be precise and or even correct, so I hope you understand and in that case can improve the ...
520 views

### ex ante tracking error correlation between funds

I have two portfolio's called Comb & Global. They both have the same investable universe lets says 3000 stocks & are measured against the same benchmark. So it is possible that both funds hold ...
150 views

### Research topics - neural networks and market liquidity

I am a masters student looking for some direction on using neural network on market depth data to help predict market liquidity and bid-ask spreads. Can some of the more experienced people give me ...
29 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 ...
156 views

### Does GARCH derived variance explain the auto-correlation in a time series?

Given a time series of $u_i$ returns where i=1 to t. $\sigma_i$ is calculated from GARCH(1,1) as $\sigma_i^2=w+\alpha u_{i-1}^2 +\beta \sigma_{i-1}^2$ . What is the mathematical basis to say that ...
252 views

### Does Kalman filter always improve over linear regression?

If I have a simple linear regression that has statistical signification but I would like to improve the overall prediction results. Will a Kalman filter be always an improvement or as least achieve ...
384 views

### MonteCarlo simulation of stock prices using milstein scheme with dividend yield?

While performing a montecarlo simulation of stock prices using the milstein scheme is it possible to take into account the dividend yield into the simulation itself somehow, if we are given a ...
44 views

### Multiperiod return formulae with dividends

I have a question about returns when dividends are 'paid'. Firstly, will write down some definitions: Let $P_t$ be the price of an asset at time t. Assuming no dividends the net return over the ...
65 views

### Exchange rate conversion [closed]

If the EUR/USD exchangerate fell by -0,96%, how much has the USD/EUR exchange rate increased? According to the below charts the number would be +0,97% (currently) but I cant figure out how these ...
121 views

### Numerical Solutions for PIDE

I want to solve an exotic options of PIDE by Numerical Methods.I just focus on the integral part of PIDE and want to underestand some tips on numerical solution of how to numerically solve it. Exactly ...
6k views

### data on historical stock price of bankrupt companies

does anybody know a site where I can download historical data on stocks including companies that have gone bankrupt such as lehman brothers? it appears that bankrupt companies no longer appear in the ...
26 views

### Quantlib FuturesRateHelper triggers not a valid IMM date error

I'm beginning to use QuantLib with python swig, and trying to build a EUR yield curve, please apologize if this is a dumb question, 1st time user of that library :) I face this error which frankly I ...
55 views

### What do you do with low r-squared when calculating high-frequency beta

I am calculating a high-frequency beta. For example I have 90 days of data of the S&P and GOOGLE and I have 10-minute percent returns for each instrument. Each day has 34 10-minute percent returns ...
8k views

### What is a Heat Rate Option?

I tried a search with google but I can't find a clear definition of what a Heat Rate Option is. I would appreciate if someone could explain to me what this type of option is. My understanding is ...
19 views

### Reconciling forecasted growth of components and sum

I'm working with a very basic basic forecast model using Compound Annual Growth Rate and I need to reconcile the forecasts at different levels of detail. Suppose I have two business lines with ...
86 views

### Risk neutral drift vs real world

I was of the understanding that risk neutral drift was always the risk free rate. A section from Gregory's book on Credit Value Adjustment seems to say risk neutral drifts are typically estimated from ...
39 views

### Any idea of compound Poisson processes in betting? [closed]

Any suggestions on compound poisson processes in bets of a customer?
93 views

### Why the value of this portfolio is negative? [closed]

Let's assume I buy 1 call with strike 100 and 1 call with strike 120 I sell 2 calls with strike 110 (with same expiration) I wonder why value of this portfolio is negative at $t=0$?
213 views

### Distribution of hitting time of the integrated CIR process

If an increasing process $X_t$ has a known Laplace transform $\mathbb{E} e^{-s X_t} = m_t(s)$, define its hitting time $\tau$ to some level $B$ to be $$\tau = \inf\{ u > 0 : X_u \geq B \}.$$ Can ...
204 views

### Performance of Open Source Time Series Database for Financial Market Data

We would like to store financial tick data in a database (potentially billions of rows) and then create aggregated (open-high-low-close) bar data from it (e.g. 1min or 5min bars). It was mentioned ...
28 views

### Stats and Hedge Ratio calculation questions

I did self-study and learnt some concepts to build a multiple leg spread /portfolio for trading but still confuse in some basic concepts. I will be very thankful if you can answer my couple of ...
48 views

### Why some exchanges enforce that you send the total quantity (fill qty + open qty) when changing the order size?

Is it to protect against overfills? Can anyone explain in simple terms?
40 views

### Does it make sense to calculate Fama-French betas of a single stock?

Or should Fama-French only be applied to portfolios?
650 views

### Simple value of a Forward contract at an intermediate time question

I am taking "Financial Engineering and Risk Management Part I" from Columbia University on coursera and I got a seemingly simple question wrong on the first quiz. This is all based on the no-arbitrage ...
102 views

### Wrong discount factors when finding Nelson Siegel Svensson model parameters

I am trying to determine the parameters for the Nelson Siegel Svensson model and am solving a Non- Linear Optimization problem to do this. Some of the code I have written is below and this is where my ...
242 views

### How to value non-libor swaps (not basis swaps)?

What discount curve should be used for a swap with a fixed leg and variable leg, where the variable leg is based on rate other than Libor (in my case 1-year deposit rate). Hull (5th edition, page 595) ...
70 views

### Weights Blowing up in PCA

I'm using daily settlement data to get yield levels for a couple of products. From this data I am doing PCA on a rolling collection of the yield levels. I have been using sci-kit learn's PCA function, ...
135 views

### Where do quants get historical FOMC meetings events for backtesting?

Is there any usual/best practice to fetch historical fomc meetings events online?
76 views

### Orthogonal Regression/PCA

I am doing orthogonal regression. My X matrix consists of returns on a broad market index, value index, growth index, a few sectors,.....(my Y is the returns on an equity fund) I am regressing the Y ...
29 views

### Euler discretization error increasing with number of steps? (GBM, Matlab)

I'm trying to see how the Euler discretization error behaves with respect to the number of steps. To do this I'm simulating a geometric brownian motion and comparing it with it's 'exact' solution. ...
4k views

### Risk Neutral Probability

I read that an option prices is the expected value of the payout under the risk neutral probability. Intuitively why is the expectation taken with respect to risk neutral as opposed to the actual ...
45 views

### Is it OK to consider the expected return is zero for stocks when calculating VaR over a short horizon?

I want to implement the approach described in the following recipe for calculating VaR: Is there a step-by-step guide for calculating portfolio VaR using monte carlo simulations I was told that I can ...
82 views

### Proving Derivative Property of Moment-Generating Function

In Shreve II, exercise 1.8, he walks the reader through proving the derivative of a moment-generating function $\phi$ is equal to the expectation $\mathrm{E}[Xe^{tX}]$; i.e.,  \phi^\prime(t) = ...
77 views

### Function A(t,T) in Hone-factor Hull-White model

I am struggling with Hull-White model now and have the following question: in the lecture notes under the link below I see how A(t,T) and B(t,T) are being derived. This requires the solution of ...
13k views

### Is there any thing out there as a substitute for KDB?

thanks a lot for your discussions on the original post. following your suggestions, let me re-phrase a bit : kdb is known for its efficiency, and such efficiency comes at a terrible price. However, ...
125 views

### Differences between editions of Security Analysis by Graham and Dodd?

Where can I find a comparison of the contents, a list of everything that changed or the differences among the different editions of the book Security Analysis by ...
66 views

### How to calculate returns and sharpe ratio for futures?

What is the industry standard way to calculate returns, which will be used to calculate sharpe ratio for e-mini S&P500?
20 views

### Will rolling-down-yield-curve bond strategy work if interest rates remain unchanged?

Suppose I have 2 strategies; A) Buying A One Year Bond And Holding To Maturity (Buy & Hold To Maturity) B) Buying A 3 Year Bond and Selling After One Year (Rolling Down The Yield Curve) Assume ...
111 views

### Zero coupon bond pricing under Extended Hull & White

How do you price zero coupon bond in extended Hull & White model by solving the Bond Pricing Equation??
70 views

### Negative adjusted strike in Levy's Asian option approximation?

In Edmond Levy's 1992 paper, he introduced a moment-matching method to approximate the price of an Asian option assuming GBM for the underlying. It suggested that, if some monitor points are already ...
250 views

### Backtesting on historical option data

I have downloaded some daily historical option data for a timespan of 10 years and want to perform trading backtests with them. Data are European index options, on ODAX. My question is about realistic ...
62 views

### Trying to understand the sign of Theta

I guess this a pretty easy question to answer, but I'm not able to get the intuition despite reading the concept a couple of times. So, the Greek Theta is almost always negative, except for when an ...
47 views

### CallableFloatingRateBond in QuantLib: just a matter of multiple inheritance?

I would like to know what are the issues related to a possible CallableFloatingRateBond class in QuantLib and to have some hints on implementation. My (very ...
2k views

### Resequencing of MsgSeqNum in FIX 4.2

I am trying to achieve the following functionality using QuickFIX for FIX 4.2 Send a couple of orders and make sure they’re filled. Then disconnect. Change the incoming (from Broker) sequence number ...
98 views

I have been reading online about the FX carry trade and how this can be profitable (in general). From my understanding, the idea is to be long (lend) the currency with higher interest rate and short ...