This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
For Free - No Credit Card Required
Design and backtest a trading system with two strategies
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.