Click here to Login








Design and backtest a trading system with two strategies

by QuantShare, 1074 days ago
Share |


If you have two trading strategies and would like to measure the performance and profit of a trading system that combine these two strategies then this money management script can help you achieve this.
Each strategy, whether it is applied to stocks, FOREX, futures or options, is given an initial equity that corresponds to a percent of the total capital.

What you have to do is apply this script to a trading system, define the buy and sell rules and set the percent of equity to allocate to each strategy and then start the backtest.
Besides, this item allows you to enter a number of days as a rebalance period. On the rebalance day, the simulator will recalculate the capital allocation of each strategy and then scale-in and scale-out the portfolio's positions so that the new capital requirement for each strategy is met.

Example:
You would like to test whether the combination of two stock systems using different technical analysis rules is profitable. You design a trading system and add these strategies; each one gets 50% of the total equity.

On May 5, 2009, a rebalance is about to occur; your first strategy had a loss and its equity is equal to 10,000$ while your second strategy had a profit and its equity is equal to 20,000$. After the rebalance, strategy 1 will have an equity of 15,000$ (-5000$ in cash) and strategy2 will also have an equity of 15,000$ (+5000 in cash).

On that rebalance day, the backtester will scale-out (Sell shares of a stock) positions in strategy1 because it has a negative cash balance and scale-in (Buy more shares of a stock) positions in strategy 2 because it has a positive cash balance.

There are two differences between this money management script and the following script: Rebalance & Combine & backtest two trading strategies
- The first is that this item allows you to enter the percent of equity to assign to each strategy, while in the other script each strategy is given 50% of portfolio's equity.
- The second difference is that this item instructs the backtester, on the rebalance day, to perform scale-in and scale-out operations for all the positions in the portfolio. In the other script, the new equity of a strategy is reflected only after some transactions.




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




Type: Advanced Money Management

Object ID: 534


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
Vary the Start Date of a Trading System Simulation (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 9 Notes Report an item
Adaptive Trading System - Minimum Percent Winners and Percent Invested (by Tom Huggens, 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
Historical trading volatility-based system to adjust trade sizes (by Tom Huggens, 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
Rebalance & Combine & backtest two trading strategies (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 42 Notes Report an item
Long strategy created with the money management tool (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 33 Notes Report an item
Dynamic Position Sizing (by clonex, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 10 Notes Report an item
Trading based on Boillinger Lower Band position on defined Market (by clonex, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 5 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

Create a trading strategy using the money management tool - Part 2

Create a trading strategy using the money management tool - Part 1

How to create a market timing system - Part 3

Correlation of market indicators

How to create a market timing system

Backtesting Process

Trading software new features

Money Management: Optimize a trading system

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