Click here to Login

LiveZilla Live Help
LiveZilla Live Help
Trading Software Trading objects Features How-to Blog Search



Pairs Trading Strategy

by QuantShare, 553 days ago
Share |






A pair strategy consists of taking one long position in a stock or security against a short position in another stock or security. The goal of such as strategy is to make profits on diverging performance and at the same time reducing risk and exposure to the global market because the strategy is equally invested in long and short positions.

The current trading strategy contains a money management script that allows you to easily backtest pair trades.
The pairs trading strategy is as follow: Buy one stock and sell the other if the spread is 2 standard deviations above or below the spread mean over a specific period (This period can be specified). Sell the pair positions if the spread is inside one standard deviation of the mean. The spread is calculated by dividing the first pair stock by the second pair stock. The lookback period used to calculate the spread mean and the spread standard deviation is the same.

There are two input fields in this strategy. The first one allows you to enter the pairs you want to backtest. Example: A|AA,GOOG|MSFT. The format is: Pair1,Pair2 and each pair's security must be separated by "|".
The second input field let you define the lookback period that is used by the money management pairs trading to calculate the mean and the standard deviation of the pair spread.

The trading system allows you to simulate or backtest several pairs. In the system's number of positions you can define the number of pairs to allow at the same time. A value of two means that only one pair can be traded during the same period.

You can also create an optimizer where each optimization creates a pairs trading strategy for a specific pair of stocks.
To do this, click on "Optimize" under the "Pairs" input field and enter several pairs separated by a semicolon. Example: AA|AACC;A|AA.

Click on "Save Money Management Inputs" then click on "Optimize" at the top of the backtester form to start the optimization process.


Share This ->
Share |


You have to log in to bookmark this object
What is this?




Type: Trading System

Object ID: 783


Country:
All

Market: All

Style:
All

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects
Show All
Double Bollinger Bands Trading System (by Mike, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 19 Notes Report an item
Historical Stock Market Data (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1561 Notes Report an item
Multiple Time Frames Trading System - Price / Moving Average Crossover (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 32 Notes Report an item
Bollinger Bands + Market Timing Trading System (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 20 Notes Report an item
Hull Moving Average Strategy - Multi Time Frame Trading System (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 37 Notes Report an item
Wilder Volatility Index - Average True Range Trading System (by Brian Brown, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 33 Notes Report an item
Trading System based on the Linear Regression of the RSI Indicator (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 32 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Screening with the composite indicators

Synchronize Buy/Sell List of Rules in the Trading System Optimizer

QS Trading Software: Global Script

New Ranking and Percentile Composite Functions

QS Trading Software: Database Optimization

Stock Market Prediction with QuantShare

Stock Market Prediction

Trading Indicators using the Rank and Percentile functions

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items