Click here to Login








US Stocks: Exchange, Market, Sector, S&P 500, Optionable

by Patrick Fonce, 1676 days ago
Share |






This object is used to get up-to-date information for US stocks. It will create a database and download information such as the exchange, the industry, the sector and the month in which the fiscal year ends of each US stock. It will also tell you whether a stock is optionable and whether it belongs to the S&P 500.
Each time the object downloads new data; it stores them in the same database (company_desc) and associates them with the current trading day. As with other downloader (example: Broker Ratings & Recommendations, US Stocks: Size & Share Volume, EPS Estimate Revisions), this object allows you to create your own fundamental database.

Here are the different fields:
Exchange: The exchange where the stock is traded. The different values are NYSE, AMEX, INDX, PSE, NSDQ and OTC.

S&P 500: Specify whether the stock or company is included in the S&P 500 index or not.

Optionable: Specify whether this is an optionable stock or not. A stock is optionable when it has options trading on an exchange such as the Chicago Board Options Exchange. Because of some requirements, such as a minimum outstanding shares and a minimum stock price, several US stocks are not optionable.

Month of Fiscal Year End: The month in which the company's fiscal year ends. Values vary from 1 (January) to 12 (December).

Sector: The sector of the company (17 sectors).

Industry: The industry of the company (264 industries).

Here is an example on how to use the S&P 500 field using QuantShare vector-based language (This example requires that you have at least 1 month worth of data):

To get stocks that were included in the S&P 500 index during the last 30 days:
rule = GetData("company_desc", "s&p 500", LastData) == 1 and ref(GetData("company_desc", "s&p 500", LastData), 21) == 0;
First, we check that the stock is included in the S&P 500 index in the current bar, and then we check that it wasn't included 21 bars (about a month) ago.


Share This ->
Share |


You have to log in to bookmark this object
What is this?




Type: Download Script

Object ID: 487


Country:
United States

Market: Stock Market

Style:
Fundamental Analysis

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

How to create a market timing system - Part 3

Correlation of market indicators

How to create a market timing system

Backtesting Process

Trading software new features

Money Management: Optimize a trading system

Optimization of a trading system

How to create custom databases in your trading software

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






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