Scroll to navigation

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

NAME

Finance::Quote::tnetuk - Obtain UK Unit Trust quotes from trustnet.com.

SYNOPSIS

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

DESCRIPTION

This module fetches information from the Trustnet UK Funds service, http://trustnet.com. 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 explicitly by placing "tnetuk" in the argument list to Finance::Quote->new().

Information obtained by this module may be covered by tnetuk.com terms and conditions See http://trustnet.com for details.

Stocks And Indices

This module provides both the "tnetuk" 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 "tnetuk" method will guarantee that your information only comes from the trustnet.com website.

LABELS RETURNED

The following labels may be returned by Finance::Quote::TNetuk :

    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.

2019-11-15 perl v5.30.0