Click here to Login

                                                   Need Simple Example of Ranking Stocks Implemented in Trading System


2010-04-20 11:11:01

I have worked to replicated the example in your post "Improve your trading system performance by ranking stocks" in a Trading System.
However, how the settings withing the "update a trading system" of the Ranking tab - defining a l/s ranking system work/interface
with the needed settings in the strategy tab - buy/sell - instructions are unclear.
I tried simply referencing my ranking system in the ranking tab, but that does not work without the proper reference in the buy/sell rules.
I referenced the ranking system using the buy = ranking(-----) format, which is recognized, but produces unexpected results,
and its link to the ranking tab setting is unclear.

Please explain the proper implementation.

The trader
2010-04-20 13:34:02


The ranking system defined in a trading system is separated from the buy/sell rules.

Here is an example:
You have a trading system with 5 maximum positions.
During the simulation, on a particular date, the application founds 10 buy signals.
Normally the trading software enters randomly five positions.
However, if you specify a long ranking system, the software will evaluate the rank of each of these signals for that date and enter the top five.
If you specify a ranking system with the following rule: "close", then the software will buy the stocks that have the highest close price.

2010-04-20 15:20:26


Thank you for trying to help, however, the areas you covered I had understood, but this does not answer my questions.

Can you please start from your post in "Improve your trading system performance by ranking stocks" and illustrate exact setting is buy, sell, ranking system, etc. that represent a potential trading system setting implementation.
Much appreciated!

The trader
2010-04-21 05:45:27


Best Answer
The example I gave you is exactly what the "Improve your trading system performance by ranking stocks" post try to explain.

Here is the trading system example:
buy = cross(sma(20), sma(100));
sell = cross(sma(100), sma(20));
and a ranking system with "rsi(14)" as rule.

You can try to run a trading system with the ranking system and another one without the ranking system to see the changes.

Please let me know if this was helpful

No more messages


No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"


Trading Items
Intraday Trading System with Daily Ranking
Trading System with Sharpe-Based Ranking
Sharpe Ratio Ranking System to Lower Trading Strategies Volatilit...
Trading System based on the Linear Regression of the RSI Indicato...
Hull Moving Average Strategy - Multi Time Frame Trading System

How-to Lessons
How to generate buy/sell signals from a trading system
How to detect stocks trading near all time highs
How to add custom position-based metrics to your trading system
How to optimize the number of positions in a trading system
How to optimize an indicator in your trading system

Related Forum Threads
Ranking System with Trading System Help, Revisited
ApplyRule example in trading system
Optimize ranking system within a trading system?
Trading a Ranking System
Ranking System Help

Blog Posts
Improve your trading system performance by ranking stocks
Example of a trading system implemented in QuantShare Software
Basic trading system implemented using the money management tool
How to Backtest an Intraday Stock Trading System with EOD Ranking
3 ways to rank stocks in a trading system - Simulator and Potfoli...

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.