GetFullStockQuoteList
Description
Returns an array of Fully Stock Quotes filtered by input parameters. When any of the parameters is missed, then the default value is used.
Input Parameters
Parameter | Description |
---|---|
| To use the Q4 API, you need to have an application key. We use this to track API usage. Currently, the use of the API is allowed only with prior permission. Requests for API keys are reviewed by staff. Please get in touch with support to get the API Key. |
| When paging is used, specify the page number to return. It is 0-based. |
| When |
| Specifies exchange abbreviation to get quotes from like "NYSE". A list of company valid symbols and exchanges can be retrieved by using Lookup Feed by specifying the lookup key as "indices". |
| Specifies company symbol on a specific exchange like "ABX". A list of company valid symbols and exchanges can be retrieved by using Lookup Feed by specifying the lookup key as "indices". |
| Specifies the lower date bound. The default value is "0001/01/01 00:00:00". The server expects this date to be in EST. |
| Specifies the upper date bound. The default value is "0001/01/01 00:00:00". The server expects this date to be in EST. |
Sample URL
https://www.domain.com/feed/StockQuote.svc/GetFullStockQuoteList?apiKey=c34993dcba1942418d97656f3ed00979&exchange=NYSE&symbol=AEM&endDate=2011%2F06%2F10+15%3A30%3A00&startDate=2011%2F06%2F10+07%3A30%3A00&pageNumber=0&pageSize=1
Sample Request
var data = {
apiKey: apiKey,
exchange: "NYSE",
symbol: "AEM",
endDate: "2011/06/10 15:30:00",
startDate: "2011/06/10 07:30:00",
pageNumber: 0,
pageSize: 1
}
$.ajax({
type: "GET",
url: "http://www.domain.com/feed/StockQuote.svc/GetFullStockQuoteList",
data: data,
dataType: "json",
error: OnLoadError,
success: OnQuoteFullLoadSuccess
});
Sample Response
{
" GetFullStockQuoteList": [{
"Change": -1.2400,
"High": 62.3900,
"High52": 88.2000,
"Low": 61.0900,
"Low52": 54.1200,
"Open": 62.0900,
"PercChange": -1.9800,
"PreviousClose": 62.7900,
"TradeDate": "\/Date(1307736000000-0500)\/",
"TradePrice": 61.5500,
"Volume": 1039435,
"Volume2": 1039435,
"CompanyName": "AGNICO EAGLE MINES LTD",
"DivAmount": 0.1600,
"DivFrequency": "Quarterly",
"DivYield": 1.0400,
"EPS": 0.8200,
"ExDivDate": "\/Date(1314680400000-0500)\/",
"Exchange": "NYSE",
"MarketCap": "10.40B",
"PeRatio": 75.0700,
"ShareOut": "169.03M",
"ShareTraded": 7311,
"Symbol": "AEM",
"TickerSymbol": "AEM"
}]
}