Open main menu

Extension:StockCharts

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

MediaWiki extensions manual
OOjs UI icon advanced.svg
StockCharts
Release status: unmaintained
StockCharts extension image.png
Implementation Special page
Description 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.
Author(s) Brendan Meutzner, Anton Zolotkov, Roger Fong
Latest version 0.1 (2009-06-04)
MediaWiki 1.9.3+
License No license specified
Download Template:WikimediaDownload/svn
Translate the StockCharts extension if it is available at translatewiki.net
Check usage and version matrix.

The StockCharts extension adds a <stockchart ticker="TIKR"/> tag extension and {{#stockchart: ticker="TIKR"}} 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.

Contents

LicenseEdit

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.

AuthorsEdit

Brendan Meutzner ( brendan @ wikinvest.com )

Anton Zolotkov ( anton @ wikinvest.com )

Roger Fong ( roger @ wikinvest.com )

Pre-requisitesEdit

This extension was tested with Mediawiki 1.9.3 and 1.15alpha.

Configuration & InstallationEdit

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

Use and OptionsEdit

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

<stockchart ticker="TIKR"/>

or

{{#stockchart: ticker="TIKR"}}

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 enhancementsEdit

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