This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
For more information about CAPS Ratings, please the following URL: http://caps.fool.com/help.aspx
Historical CAPS Ratings data for the period of your choice are downloaded by this item. The data is stored in a custom database (CAPS) and can be accessed to create composites, screens, rules, simulations, neural network models...
As an example, you can plot CAPS rating of Google over time by typing the following formula:
caps = GetData("caps", "rate", Zero);
You can create a rule that buys a stock if its CAPS Rate increases by 2 stars:
buy = GetData("caps", "rate", Zero) - ref(GetData("caps", "rate", Zero), 1) >= 2;
Or a trading rule that buys stocks with the highest CAPS rating:
buy = GetData("caps", "rate", Zero) == 5;
Here is a more advanced rule; buy stocks if their CAPS rate is in the top 2 of the highest-rated stocks within the same industry:
buy = comp(GetData("caps", "rate", Zero), "rank", industry()) <= 2;
Downloading the whole historical data takes some time, you need to do that only once. If you want to download only the latest CAPS Ratings, use Daily CAPS Ratings instead.
Note that the current downloader downloads CAPS Ratings for every day given the period you specify. If you want to take weekly snapshots, you will have to update the URL-Script code. To do this, select the downloader, click on "Update", click on "Settings" in the URL line and finally click on "Create a URL-Script".