Click here to Login

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



Rebalance & Combine & backtest two trading strategies

by QuantShare, 707 days ago
Share |






Using the simulator you can easily create and combine two different trading strategies, one long strategy and one short strategy.

However, if you want to create two long trading strategies, you will have to create your own money management script or use this object.

This money management script allows you to create two different long strategies and generate backtesting results of a trading system that combine these strategies.
You can specify buy and sell rules for each strategy and also a rebalance period.
This period is used to rebalance the equity associated with each strategy at a constant interval.

At the beginning, the simulator gives 50% of the initial equity and 50% of the number of positions to each strategy.
After a number of days equal to the specified value in the rebalance field, the backtester rebalance the portfolio and give each strategy 50% of the current equity.

Example:
After 30 days, strategy1 produced a 20% return and has an equity of 12,000$, and strategy2 had a -10% return and has an equity of 9,000$.
The current total equity is equal to 21,000$. After the rebalance day, each strategy's equity will be equal to 10,500$. Strategy1 will have a negative cash balance while strategy2 will have a positive cash balance and therefore can buy larger positions.
Note that Strategy1 positions will not be scaled-out and strategy2 positions will not be scaled-in. In order to scale positions after the rebalance period, you can add a trading order in the "UpdateCategorySettings" function.

If you don't want to rebalance your portfolio, simply set a very high value.


Share This ->
Share |


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




Type: Advanced Money Management

Object ID: 529


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
Benchmark Return in 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 10 Notes Report an item
Number of Buy Signals Over Time in a 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 8 Notes Report an item
Weekly ETF Switch V 1.0 (by saratur, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 28 Notes Report an item
Market Timing Rules - Used to construct profitable 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 22 Notes Report an item
Investing in stocks using the Kelly criterion money management strategy (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
Industry Rotation Strategy - iShares ETF Dow Jones Stocks (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 19 Notes Report an item
Stop Loss for the N-first Trading Bars only (by The trader, uploaded several months ago)
No notes

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