Extension:StockCharts

Note: this extension collects information from your computer - see the Terms of use.

The StockCharts extension adds a  tag extension and   parser function that allows users to include interactive financial charts within an article. Charts cover stocks prices, but also economic data such as the Consumer Price Index and interest rates. Charts are flash-powered and users can pan and zoom without a page refresh. Data is provided by Thomson / Reuters and Xignite, with a 15-20 minute delay.

License
Copyright 2007-2009 Wikinvest.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Authors
Brendan Meutzner ( brendan @ wikinvest.com )

Anton Zolotkov ( anton @ wikinvest.com )

Roger Fong ( roger @ wikinvest.com )

Pre-requisites
This extension was tested with Mediawiki 1.9.3 and 1.15alpha.

Configuration & Installation
require_once('extensions/StockCharts/StockCharts.php');
 * Get the source via SVN
 * Add this line to your LocalSettings.php

Use and Options
To embed a stock chart in an article, use the syntax:



or

The 2nd syntax works within templates.

Options you can specify are:


 * ticker - stock ticker (required)
 * width - width of chart
 * height - height of chart
 * title - custom title for chart
 * range - range / zoom of chart. Possible values: "1 day", "5 days", "1 month", "3 months", "6 months", "1 year", "2 years", "5 years", "10 years", "full"

Bugs and enhancements
Bugs or feature requests can be sent to the author at charts-help @ wikinvest.com.