Finance::Quote::Trustnet(3) Obtain unit trust prices from trustnet.co.uk

SYNOPSIS


use Finance::Quote;
$q = Finance::Quote->new;
%stockinfo = $q->fetch("uk_unit_trusts","trust-name"); # Can failover to other methods
%stockinfo = $q->fetch("trustnet","trust-name"); # Use this module only.

DESCRIPTION

This module obtains information about UK unit trust prices from www.trustnet.co.uk. The information source ``uk_unit_trusts'' can be used if the source of prices is irrelevant, and ``trustnet'' if you specifically want to use trustnet.co.uk.

UNIT TRUST NAMES

Unfortunately there is no unique identifier for unit trust names. Therefore enough of the name should be given including spaces to yield a unique match. Trustnet sometimes uses abbreviated names, and the string given should match the abbreviation.

Consult http://www.trustnet.co.uk/ut/funds/perf.asp?sort=0 to find a match for your unit trusts.

Example ``jupiter income''

LABELS RETURNED

Information available from Trustnet may include the following labels: exchange method source name currency bid ask yield price. In case of a unit trust, ``price'' returns the offer (ask) price. In case of an OIEC, the unique price is returned in ``bid'', ``ask'' and ``price''.