Scroll to navigation

Finance::Quote::Citywire(3pm) User Contributed Perl Documentation Finance::Quote::Citywire(3pm)
 

NAME

Finance::Quote::citywire - Obtain UK Unit Trust quotes from morningstar.co.uk.

SYNOPSIS

    $q = Finance::Quote->new;
    %info = Finance::Quote->fetch("citywire","<isin> ...");  # Only query morningstar.co.uk using ISINs
    %info = Finance::Quote->fetch("ukfunds","<isin>|<sedol>|<mexid> ..."); # Failover to other sources

DESCRIPTION

This module fetches information from the Citywire Funds service, http://citywire.co.uk. There are many UK Unit Trusts and OEICs quoted, as well as many Offshore Funds and Exhange Traded Funds (ETFs). It converts any funds quoted in GBX (pence) to GBP, dividing the price by 100 in the process.
Funds are identified by their ISIN code.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicity by placing "citywire" in the argument list to Finance::Quote-> new().
Information obtained by this module may be covered by citywire.co.uk terms and conditions See http://citywire.co.uk for details.

Stocks And Indices

This module provides both the "citywire" and "ukfunds" fetch methods for fetching UK and Offshore Unit Trusts and OEICs prices and other information from funds.ft.com. Please use the "ukfunds" fetch method if you wish to have failover with future sources for UK and Offshore Unit Trusts and OEICs - the author has plans to develop Finance::Quote modules for other sources providing uk unit trust prices. Using the "citywire" method will guarantee that your information only comes from the citywire.co.uk website.

LABELS RETURNED

The following labels may be returned by Finance::Quote::Citywire :
    name, currency, last, date, time, price, nav, source, method,
    iso_date, net, p_change, success, errormsg.

SEE ALSO

AUTHOR

Martin Sadler, <martinsadler@users.sourceforge.net>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by Martin Sadler
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.
2014-06-17 perl v5.18.2