Scroll to navigation

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

NAME

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

SYNOPSIS

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

DESCRIPTION

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

Information obtained by this module may be covered by funds.ft.com terms and conditions See http://morningstar.co.ukfor details.

Stocks And Indices

This module provides both the "mstaruk" 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 source providing unit trust prices. Using the "mstaruk" method will guarantee that your information only comes from the morningstar.co.uk website.

LABELS RETURNED

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

    name, currency, last, date, time, price, nav, source, method,
    iso_date, net, p_change, success, errormsg.

SEE ALSO

Morning Star websites, http://morningstar.co.uk

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.

2024-09-22 perl v5.38.2