Click here to Login




Ranking System Engine

Updated on 2009-07-21





The QuantShare Ranking System engine is a tool that ranks symbols by calculating a score for each one of them given a combination of nodes and formulas.
The Ranking System engine needs a set of nodes and formulas, an output rule, a list of symbols, a start and end date, a number of buckets, a rebalance period and a ranking calculation method.
You can also add a fixed trading rule and one or many custom statistic metrics.

For every symbol, the engine will loop through the symbols' quote bars, calculate formulas, multiply them by the weight and the factor, calculate nodes, and then calculate the top node value, which is the ranking system value for the a symbol and for a specific date.

The top node values should be between 0 and 100; any value outside this range will be updated. A value of 150 will be changed to 100.
This 0-100 interval will be divided by the value defined in the number of buckets. If this value is 10, then the 0-100 interval will be divided into 10 parts, where the first part is 0-10, the second one 10-20 and so on.

The rebalance period determines how often the ranking system calculation should be done. This calculation is performed on the same dates for all the symbols.

Let us take an example: we have two stock symbols: 'a' and 'b', the start period is 10-Juin and the rebalance period is 10 days. Given these information, the calculation process will start on 10-Juin (If there are quotes on this date, otherwise the next date will be used). The next rebalance date will be 10-Juin plus 10 days, that is, 20-Juin. The next one will occur on 30-Juin...

On these rebalance dates, the ranking system value of each symbol is calculated as well as the output value. Generally the output period (example: the number of stop bars defined in the output: return with an n-bar stop), should be the same as the rebalance period. That way the process won't have to decide how to adjust output values.
But in case the output period is different from the rebalance period, if the OP (output period) is higher than the RP (rebalance period), then the output value will be divided by the total number of OP bars, then multiplied by the number of RP bars. In the other case, no changes are made and the engine lets the output value as it is.

In a next post we will present the Ranking Calculation Methods, which are probably the most important Ranking System Analyzer settings. We will explain and describe how these calculation methods are used by the ranking system engine.











no comments (Log in)

QuantShare Blog
QuantShare
Search Posts




QuantShare
Recent Posts

Lock, Link and Undock your Charts
Posted 291 days ago

QuantShare
Previous Posts

Ranking System Engine
Posted 3529 days ago

How to deal with StockTwits data
Posted 3539 days ago

Trend following systems
Posted 3542 days ago

Working with the formula editor
Posted 3544 days ago

Optimization of trading rules
Posted 3555 days ago

Volatility and trading systems
Posted 3557 days ago

Trading Optimization
Posted 3558 days ago


More Posts

Back







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 2019 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.