Click here to Login





                                                   Puzzling over the Comp() function

  0

0
Chaim6
2014-06-18 03:47:15


Why are the following two statements not equivalent?
I have a Sim with the following statements:

res = Comp(v,"Percentile!", 1, 1, "AAPL;MSFT;IBM"); // Version A (the symbol list is just for demonstration)
SetSimLongRank(res);

This works as intended. But when I change it to:

res = Comp(v,"Percentile!"); //Version B

the results are completely different.
The symbol list for the sim is also AAPL;MSFT;IBM

Why are the results different?

Thanks!



QuantShare
2014-06-18 09:01:49

  0

I have made few tests and it works as expected. You should probably send me the whole formula you have tested.
If you want, you can send that to support [at] quantshare [dot] com.




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
Year over Year Chart Indicator
Highest and Lowest value over a dynamic period
Swing Point Function (SP)
NORMDIST - Normal Probability Density Function
Moving Average Crossovers In the Past Trading Days

How-to Lessons
How to calculate the average of a time series using the money man...
How to display the bar index of a stock on a chart
How to plot two different time frames in the same chart
How to screen for stocks having a high correlation with the Dow J...
How to plot a time-series that do not update the chart scale

Related Forum Threads
Logging the Comp() function
Problems with the Composite Function
Count() with STDdev function anomoly
How to import the list of of all mutual funds tickers?
Plotting the closing value one year ago? Two years ago? Three?

Blog Posts
How to create market indicators using the composite function - Pa...
The 'inside period' function
How to create market indicators using the composite function - Pa...
How to create market indicators using the composite function - Pa...
Ranking stocks based on their correlation with the S&P 500 Index









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.