Click here to Login

                                                   Ranking System Manager and Simulator yield very different results


2019-03-14 13:06:13

I used Ranking System Manager->Analyze Nodes with the following configuration
Node - perf(ref(close,15),55)
Symbols - SP500 stocks
Dates - 1/1/2014 ->1/1/2019,
Rebalance period: 22 days
No of buckets: 30 (so, top bucket has around 16 stocks)

AR of top bucket = 45%

I configured the Simulator with the same parameters
rank1 = comp(perf(ref(close,15),55),"rank",1, 1);
Buy = rank1<17
16 positions
Symbols - SP500 stocks
Dates - 1/1/2014 ->1/1/2019,
Rebalance period: 22 days
SetSimTiming(_Buy, _Close, -1); SetSimTiming(_Sell,_Close,-1) ; // same day Close of market buy/sell - this has little impact on performance.
No slippage or commissions

AR = 11%

Why do the 2 systems have such different performance? Is there a bug in one of them? Which one do i trust?
I've tried with other ranking systems and with other universes (e.g. R2000, SP600 SmallCap) and the performance of the 2 systems are not even close.


2019-03-15 07:14:15


The tools are quite different. The ranking system will calculate the average return and annualize the result while the simulator will create a true portfolio strategy and reinvest any gain.

How did you define the rebalance period in the simulator? In the trades tab, check the number of bars held? Is it around 22 for all trades?
What is the output/buy-sell timing rules in your ranking system?

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
Super Stock Screener Ranking System
Intraday Trading System with Daily Ranking
Design and backtest a trading system with two strategies
Sharpe Ratio Ranking System to Lower Trading Strategies Volatilit...
Optimizable Fibonacci Long and Short Trading System

How-to Lessons
How to optimize an indicator in your trading system
How to optimize the stop limit of a trading system
How to optimize the number of positions in a trading system
How to create and trade a Neural Network model
How to generate buy/sell signals from a trading system

Related Forum Threads
Custom Fitness function in Ranking System Manager
Ranking System Optimization
Optimize ranking system within a trading system?
Ranking System with Trading System Help, Revisited
Ranking System Manager

Blog Posts
3 ways to rank stocks in a trading system - Simulator and Potfoli...
Ranking system calculation methods
New Ranking and Percentile Composite Functions
How to build and backtest a robust stock trading system
How to Backtest an Intraday Stock Trading System with EOD Ranking

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.