This plugin was distributed previously as part of the McKessonApsWikiPlugins package, now as part of the CeryleWikiPlugins. This documentation is updated for the new version as appropriate.

Description#

The TickerPlugin is a simple plugin that will display the current price of a stock on a page. e.g.

The current price of IBM on the NYSE is
[{INSERT org.ceryle.wiki.plugin.ticker.TickerPlugin symbol=IBM}]

It is possible to shorten the plugin syntax for the examples above to [{Ticker symbol=IBM}] and [{Ticker symbol=IBM.BA] if you add org.ceryle.wiki.plugin to the jspwiki.plugin.searchPath property in your jspwiki.properties.

With the shortened syntax, the current price of IBM on the NYSE is
[{Ticker symbol=IBM}],

and on the Buenos Aires exchange its:
[{Ticker symbol=IBM.BA}]

would display as...

The current price of IBM on the NYSE is: IBM:79.95, and on the Buenos Aires exchange its: IBM.BA:25.003

Design Notes#

Uses Yahoo Finance as its source.

Parameters#

Only the symbol parameter is required, and it can have values like IBM or IBM.BA where the dot suffix indicates the exchange (ala Yahoo).

While it may be desirable to have a format parameter that would allow Day/Week/Quarter/Year Hi/Lo/Close/Current values to be displayed, this is not currently implemented. An outlink to the Yahoo site for the full current quote details is sufficient.

Status/Notes#

Included in the McKessonApsWikiPlugins jar. -- JohnVolkar
Now included in the CeryleWikiPlugins.jar. -- MurrayAltheim


ContributedPlugins

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-25) was last changed on 26-Sep-2007 23:07 by JanneJalkanen