Click here to Login





How to optimize the number of positions in a trading system

Updated on 2012-01-14 03:50:00

Share |

The maximum number of positions as well as several other settings can be easily optimized in QuantShare. You can for example set different values for the number of positions and the trailing stop level and QuantShare will backtest the different trading system combinations and tell you which one performs best.

The number of positions is the maximum number of securities a portfolio/trading system can hold at the same time.

Steps:

- Open an existing trading system or create a new one (How to create a trading system)
- In "Create a trading system" form, click on the "Optimize" icon (located at the top of the control)
- Click on "Optimization" button
- In the "Optimization" grid, click on "Add item" to create a new variable
- Double click on the cell under "Variable" column and select "Number of symbols"
- Set, for example, 5 as "Min" value, 20 as "Max" value and "5" as step





- Click on "OK" to save the trading system optimization settings
- Click on "Create Trading System" or "Update a Trading System"

To backtest several trading systems with different maximum number of positions, select your system then click on "Optimize".

This will generate four trading systems; each one has a distinct "number of positions" value (5, 10, 15 or 20).








no reviews (Log in)







Other how-to articles




How to optimize the stop limit of a trading system





How to add a metric in the trading system simulation report





How to debug a trading system using the money management tool





How to optimize an indicator in your trading system





How to dynamically change the number of positions in a portfolio?





How to generate buy/sell signals from a trading system





How to add custom position-based metrics to your trading system





How to download a trading item from the Sharing Server





How to plot the number of stock tweets per day







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 © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.