
Financial engineers and quantitative analysts often exploit network services to retrieve stock quotes. A large number of services exist, including paid-for real-time feeds from Bloomberg and Reuters. Yahoo, however, provide a free service that is delayed by fifteen minutes.
The Interactive Stock Quote Importer in this worksheet will import quotes (including historical data) from Yahoo for a series of user-specified NYSE stock symbols. This application
• |
provides text fields for specifying up to five ticker symbols,
|
• |
allows the user to pick those quantities they want to import with check boxes,
|
• |
summarises the data in a table,
|
• |
assigns the values to variables for further processing and analysis.
|
Within Maple, the data is summarised in a table, or can be accessed as variables. If, for example, GSK has been specified, simply type in GSK[ and then press CTRL+SPACE for a list of accessible properties. Several examples are given below the Importer.
The worksheet concludes by optimizing an asset portfolio by maximising the Sharpe Ratio with imported historical data.
The applications of this worksheet include ranking companies by financial information (i.e. earnings per share, market capitlization etc), plotting historical data, generating moving averages, and optimizing asset portfolios.