.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Finance::Quote::MStaruk 3pm" .TH Finance::Quote::MStaruk 3pm "2017-11-24" "perl v5.26.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Finance::Quote::mstaruk \- Obtain UK Unit Trust quotes from morningstar.co.uk. .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& $q = Finance::Quote\->new; \& \& %info = Finance::Quote\->fetch("mstaruk"," ..."); # Only query morningstar.co.uk using ISINs \& %info = Finance::Quote\->fetch("ukfunds"," ..."); # Failover to other sources .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" This module fetches information from the MorningStar Funds service, http://morningstar.com/uk/. There are many \s-1UK\s0 Unit Trusts and OEICs quoted, as well as many Offshore Funds and Exhange Traded Funds (ETFs). It converts any funds quoted in \s-1GBX\s0 (pence) to \s-1GBP,\s0 dividing the price by 100 in the process. .PP Funds are identified by their \s-1ISIN\s0 code. .PP This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing \*(L"mstaruk\*(R" in the argument list to Finance::Quote\->\fInew()\fR. .PP Information obtained by this module may be covered by funds.ft.com terms and conditions See http://morningstar.co.ukfor details. .SS "Stocks And Indices" .IX Subsection "Stocks And Indices" This module provides both the \*(L"mstaruk\*(R" and \*(L"ukfunds\*(R" fetch methods for fetching \s-1UK\s0 and Offshore Unit Trusts and OEICs prices and other information from funds.ft.com. Please use the \*(L"ukfunds\*(R" fetch method if you wish to have failover with future sources for \s-1UK\s0 and Offshore Unit Trusts and OEICs \- the author has plans to develop Finance::Quote modules for other source providing unit trust prices. Using the \*(L"mstaruk\*(R" method will guarantee that your information only comes from the morningstar.co.uk website. .SH "LABELS RETURNED" .IX Header "LABELS RETURNED" The following labels may be returned by Finance::Quote::mstaruk : .PP .Vb 2 \& name, currency, last, date, time, price, nav, source, method, \& iso_date, net, p_change, success, errormsg. .Ve .SH "SEE ALSO" .IX Header "SEE ALSO" Morning Star websites, http://morningstar.co.uk .SH "AUTHOR" .IX Header "AUTHOR" Martin Sadler, .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright (C) 2010 by Martin Sadler .PP 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.