Click here to Login





                                                   Inverse Ranking

  0

0
ymlee
2017-11-02 09:53:55


How to perform an inverse ranking for less is better purposes, eg: P/E, Price/Book Value.

PE:
Close/GetData("mstar","eps ttm",LastData)

I have 10 yrs MorningStar Fundamental Data, am I using the right way to do it?
Any difference between using LastData and ignore this parameter?




QuantShare
2017-11-03 06:17:31

  0

Best Answer
You simply rank for minus the factor.

Example:
"-close" to perform an inverse ranking of the close price



ymlee
2017-11-03 11:13:02

  0

I put it this way:
-1*( Close/GetData("mstar","eps ttm",LastData))

Is it same as your answer?
And what is the result if i ignoring LastData parameter?



QuantShare
2017-11-04 06:20:21

  0

Yes exact.

If you put "Zero" for example instead of "LastDate" then when "eps ttm" data is not available for a particular date, the function "GetData" will return 0 instead of the last available value.

You should plot that on a chart to see the difference.



No more messages
0




Reply:

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"










QuantShare

Trading Items
Super Stock Screener Ranking System
Intraday Trading System with Daily Ranking
RSI(3) Ranking System
Inverse Fisher Transform
NORMINV - Inverse of the Normal Cumulative Distribution

How-to Lessons
What is the Bookmark Panel?
How to automatically arrange charts?
How to calculate the average of a time series using the money man...
How to plot the relative performance of several stocks/indices
How to import trades into a portfolio

Related Forum Threads
Why Would the Ranking Analyzer Results Differ Here?
Need Simple Example of Ranking Stocks Implemented in Trading Syst...
Ranking systems
AI Optimization of Ranking
Hysteresis in ranking sytem - reduce trading with time decay fact...

Blog Posts
Ranking System Engine
How to Backtest an Intraday Stock Trading System with EOD Ranking
Inverse Fisher Transform: Indicator, composite and trading system
Ranking stocks based on their correlation with the S&P 500 Index
New Ranking and Percentile Composite Functions









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.