STOCK QUOTE QUERY 1.0
File ID: 82035
STOCK QUOTE QUERY 1.0
File Size: 10.0 KB
STOCK QUOTE QUERY 1.0 Description
Description: SQQ & STOCKQUOTEQUERY pull stock prices for a given ticker symbol
from the YAHOO web server using the MATLAB Java URL interface.
STOCKQUOTEQUERY has the main code. SQQ calls STOCKQUOTEQUERY and allows for either interactive (keyboard) inputs or as a function call with numerous options for setting dates.
DATE: Date for the quote
CLOSE: Closing market price
OPEN: Opening price
HIGH: High price (during trading day or frequency period)
LOW: Low price (during trading day or frequency period)
VOLUME: Volume (during trading day or frequency period)
CLOSEADJ: Close adjusted for splits
Use HELP SQQ for the full set of input and output options.
STOCKQUOTEQUERY is based on GETSTOCKDATA by Peter Webb of Mathworks, as explained in the October 2002 MATLAB News and Notes article "Internet Enabled Data Analysis and Visualization with MATLAB"
How to use SQQ & STOCKQUOTEQUERY
--Enter 'sqq' at the comand line for an interactive run.
--For a simple example that pulls recent data (over the past 7 days) for IBM,
--SQQEXAMPLE.M has more examples, including a demonstration of two different types
of stock quote queries and also produces three charts.
How SQQ differs from GETSTOCKDATA
--verifies YAHOO server tables have 7 elements on a line before parsing the line.
The server tables sometimes show extra lines for dividend payments and splits.
--close(breader); close(ireader); close(stream); commented out-- caused problems.
--adjusts query parameters to refer to January as month '0', not '1', and February
as '1', and so on. (This is a feature of the YAHOO system. STOCKQUOTEQUERY uses
1 to 12 numbering for months in the input-output parameter translation.)
--flips data vectors to normal date order (increasing, oldest to most recent).
--does not require month(), day() or year() functions, uses datevec.
--keeps VOLUME and CLOSEADJ data.
--SQQ has flexible input options, especially for dates.
Related: Lines, dividend, extra, Parsing, Payments, splits, caused, problems, commented, closestream, closebreader, closeireader, Elements, Tables, demonstration, including, Examples
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB
|More Similar Code|
This script update the stock quote on your spreadsheet by fetching the latest quote from Yahoo!Finance web services. It uses the pywin32 library to update the cells on an Excel spreadsheet.
KISSQ - Keep It Simple Stock Quote is built on PHP code that provides concised info on simple keystrokes. All marketting details are given in statistical format along with company name. Real estate data given with broker links. Getting quotes from...
TStockQuote is a professional stock quote/chart retrieval component. Using TStockQuote, developers can add sophisticated stock quotes and charts to their applications. TStockQuote retrieves detailed information about each stock, including last...
Finance-QuoteHist is a collection of perl / CGI module which are widely useful to display historical stock quotes. A set of websites can be given with a list to grab stock quote information. By default, Yahoo, Wall Street City, SiliconInvestor...
KISSQ is a Unix compatible script that contains the Stock Quote module for Nuke, Postnuke, and non-Nuke sites. It also includes the Nuke Block and Postnuke Block application. This application will link to Yahoo's financial site, download the...
Hermes - Trader is aimed to be as a trading application based on Eclipse RCP framework. The basic features would include setting up a portfolio of securities, fetch news for securities and stock quote for the security.
Display in-line stock quotes on your blog
* Easy Linking - The plugin picks up keywords by itself and suggests quotes for you to display them on your blog.
* Updated Prices - The Stock Quotes plugin will show most recent price of...
This application uses a WSDL web service to provide live (albeit 20 minute delayed) stock quotes. By using a MATLAB timer object, it runs continuously as a background task (without blocking the MATLAB command line).
This application is...
This is an article that can be used by the users to let their visitors view stock quotes from Yahoo on their websites. This tutorial makes it possible by fetching the quotes in csv format and updating the stock reports in an array and thereby to...
CF_StockGrabber is customizable CFML tag, which gets the detailed stock information from Yahoo Finance by passing simple parameters. User can supply the simple parameters like single stock, mutual fund, or index ticker symbol. Also user can supply...
|User Review for STOCK QUOTE QUERY