The process of evaluating a strategy, theory, or model by applying it to historical data.

learn more… | top users | synonyms (1)

2
votes
1answer
374 views

What are the advantages of knowing the bid and ask over the best bid and ask?

I am importing historical intraday tick data from Bloomberg and I noticed the Bloomberg API allows users to import best bid, best ask, bid, and ask prices If I am backtesting a trading strategy, what ...
1
vote
0answers
238 views

VaR backtesting with overlapping time intervals

Of course the issue here is dependence: can it be removed or accounted for (in independence tests too, which of course would be troublesome)? There's a lot of literature on regression in this setting, ...
5
votes
4answers
2k views

How should I include the bid-ask spread as a transaction cost in a backtest?

I have two backtesting algorithms: One that uses bid and ask prices for signal generation. For example: Buy when $ask < threshold_1 $ and sell when $bid > threshold_2$. Bid and ask prices are ...
2
votes
1answer
102 views

Aftcast Generation

Aftcast is a way of simulating equity curves for different start years, usually from a large sample data ~100 years. Its kind of like start date sensitivity testing but in my case, I incorporated ...
0
votes
1answer
159 views

How far back is normal to backtest an ATS ? [duplicate]

Possible Duplicate: How much data is needed to validate a short-horizon trading strategy? How far back do people usually backtest trading systems? months? years?
8
votes
1answer
578 views

What tools and libraries may be used to model limit/stop systematic trading?

A lot of the tools/libraries out there seem to focus on close to close time series analysis. This is all fine but I typically do not trade close to close, I will use limit or stop orders that may or ...
0
votes
0answers
40 views

Inferring Returns From Minimal Data Points [duplicate]

Possible Duplicate: How much data is needed to validate a short-horizon trading strategy? Suppose I have daily returns for a trading strategy against one month of data. Before starting ...
3
votes
1answer
296 views

How do I backfill the price of bonds for backtesting?

I need to backfill the price of bonds for testing a startegy. The method employed is: Regressing the YTM of the bond against a benchmark. Using the regression estimates to calculate the YTM for the ...
3
votes
1answer
844 views

What latency should I use for backtesting a high-frequency strategy?

We're developing an HFT strategy for highly liquid futures traded at Eurex. We are planning to colocate our server and to use data feed of QuantHouse and execution API of ObjectTrading. Backtesting is ...
3
votes
1answer
341 views

Cross Bid and Ask prices for Forex trading

I am using ITCH protocol to get the Market Data information for Forex and trying to implement LOB on it and what i have noticed is that Bid and Ask prices are crossing very often. Should that be ...
1
vote
2answers
447 views

One bar look-ahead backtesting

Suppose you backtest the EUR/USD (or GBP/USD) forex pair with this system on the 1min timeframe: 1) Enter the market at any time n: go long if the "future" bar n+1 has a higher close as the close ...
7
votes
2answers
984 views

How to calculate the most realistic historical option prices with additional publicly available parameters

This is a follow up question of this one. My aim is to create the most realistic historical option prices possible with publicly available data. I want to do this for backtesting purposes. The ...
3
votes
0answers
114 views

Are there canonical test cases for testing of pricing engines

Short intro: We are developing pricing engines for the calculation of market risk in a Solvency II solution, including bonds, callable bonds, cds, options, futures and so on. Are there any canonical ...
10
votes
3answers
588 views

Literature on generating synthetic time series for testing

I have some market data (daily time series) for bond prices and CDS indices and I would like to generate synthetic versions of these which are statistically "similar" for testing trading strategies. ...
5
votes
5answers
1k views

What are the advantages of switching platforms/languages between strategy development and implementation?

I am interested in coding a medium frequency (trading over minutes to hours, holding for days to weeks) quantitative trading strategy and trading it with Interactive Brokers. I have seen many people ...
8
votes
1answer
407 views

Any research paper on stop loss?

Has there been any rigorous study on stop loss ? When to apply it? Has it been shown to work through proper statistical backtests? I am interested in Equities, preferably European stocks.
8
votes
2answers
1k views

How to vet an intraday strategy

I am working on an intraday strategy using 5/10 minute bars. I am getting a decent return and sharpe on the strategy. But on close examination I see that I am making about 1 cent per trade (I haven't ...
3
votes
2answers
239 views

Which indices to use for an equity vs. fixed-income portfolio simulation?

I want to backtest several basic optimization methods (e.g. MVO, "most-diversified portfolio"), and I want to do this on a basket of different asset indexes. To start with, I want to simulate a 60/40 ...
10
votes
3answers
304 views

How to account for market movement when some exchanges are closed?

Daily data, such as open and close prices, is often available for much longer periods than high-frequency data. However, whenever backtesting any strategy that examines instruments traded in different ...
6
votes
4answers
900 views

How to properly evaluate backtest returns?

Do you evaluate a strategy in a backtest based on the cumulative returns generated by the strategy (i.e. looking at the cumulative returns of the trades that occur) or do you start with a certain ...
4
votes
3answers
1k views

How to compute the alpha decay of a strategy?

How can one compute the alpha decay of a systematic trading strategy?
16
votes
4answers
2k views

Evaluating automated trading strategies: accepted practice

Both for private projects, and for clients, I've been working on code a lot this year to evaluate automated trading strategies. This often ends up turning into the task of how to fairly compare apples ...
11
votes
2answers
989 views

How to build a regime-switching model which knows its own limits?

In recent months I've come to the conclusion that there are not only certain regimes in the markets (like bear or bull) but phases where all models fail because we are in uncharted territory. The ...
9
votes
3answers
1k views

What is the ideal ratio of in-sample length to out-of-sample length?

Suppose you are running a portfolio of quantitative strategies and that you develop a new potential strategy to be added to the mix. Assume for simplicity that the new strategy is independent of the ...
9
votes
1answer
467 views

What to ask for in a good prototyping framework?

Reading up on quantitative methods, model development, and back-testing, one obvious question springs to mind: What should one ask of a prototyping (model testing) framework? I know a lot of people ...
6
votes
1answer
446 views

Are shorter holding period strategies better?

Consider two statistically identical strategies (identical information ratios, sample size, ratio of transaction costs to total profit, etc.) except that one has a much shorter average holding period. ...
19
votes
2answers
2k views

How much data is needed to validate a short-horizon trading strategy?

Suppose one has an idea for a short-horizon trading strategy, which we will define as having an average holding period of under 1 week and a required latency between signal calculation and execution ...
8
votes
4answers
676 views

What are the risk factors in analysing strategies?

What do you think of strategies displayed on timelyportfolio.blogspot.com? I really like the fact that there is some code to reproduce the strategies, but they seem very elementary because he does ...
8
votes
3answers
1k views

How to generate synthetic FX data for backtesting?

I want to generate synthetic forex data for the purpose of backtesting my trading algorithms. I have some rough ideas in mind on how to do this: Start with a curve representing a trend, then randomly ...
3
votes
1answer
998 views

How do I backtest a convertible bond arbitrage strategy in R/Matlab?

Since no one was able to answer my previous question, I am going to try to backtest a modern convertible bond arbitrage strategy myself (perhaps I'll report the results back here, if you're lucky :)). ...
10
votes
1answer
409 views

Comparing backtesting returns with real trading returns

I have 10 years of backtested simulated performance of some trading strategy (using historical prices), and N months of actual trading performance. What statistical test can I do find out if I'm on ...
9
votes
2answers
1k views

How to simulate slippage

I'm backtesting a trading strategy, using free OHLC data from yahoo or google. I'm simulating friction by lopping a flat percentage (say 0.5%) off my returns for each day that I make a trade. Whats ...
5
votes
1answer
229 views

Multiple comparison problems

I recently read a blog entry where some statistics were generated for a common technical analysis indicator. Below is the link. My question shows up close to the bottom under the name bill_080, in ...
27
votes
6answers
3k views

What are the popular methodologies to minimize data snooping?

Are there common procedures prior or posterior backtesting to ensure that a quantitative trading strategy has real predictive power and is not just one of the thing that has worked in the past by pure ...
7
votes
3answers
5k views

Trading C++ Libraries

Are there any free c++ libraries that would have some of the functions that would be used in developing a trading strategy. For instance, calculating drawdown, Volatility Forecasting, MAE, MFE....etc. ...
10
votes
5answers
1k views

How to conduct Monte Carlo simulations to test validity of Black Scholes for a specific option?

In reference to the original Black Scholes model, what approach is best to test the model in a rigorous way? Is there a standard approach that can accomplish this in a reasonable amount of time? ...
8
votes
4answers
380 views

Seeking Historical Non-Finance Datapoints for Backtesting

I'm working on some financial analysis code which I'd like to test against a historical dataseries to analyze the correlations to my algorithm to some non-finance related data. Ideally, I'd like to ...
6
votes
1answer
168 views

Data on US bankruptcy rate vs. standard valuation ratios

Does anyone know of any research or data on US corporate bankruptcy rates as a function of standard valuation ratios, such as P/B, P/E, etc.? I'm trying to adjust the results of backtests to account ...
6
votes
2answers
344 views

Is there something like opportunistic “superstitious” trading?

This sentence in the following paper got me thinking: "Some traders [...] trade every pattern whether proven or not, expecting authentic ones to produce positive results, whilst the profits and ...
6
votes
1answer
497 views

What are the ensemble techniques to forecast returns?

It was pointed in an other question that ensemble methods can help to reduce curve fitting. What are your experience with these and which one seems the most appropriate? If I had two forecasters that ...