25 Feb 2019 11:18:15 UTC
- Distribution: Finance-Quote-Grab
- Module version: 15
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (168 / 0 / 0)
- KwaliteeBus factor: 1
- 31.90% Coverage
- License: gpl_3
- Perl: v5.5.0
- Activity24 month
- Download (61.7KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionKRYDE Kevin Rydeand 1 contributors
- Kevin Ryde
Finance::Quote::MLC - MLC fund prices
use Finance::Quote; my $fq = Finance::Quote->new ('MLC'); my $fund = 'MLC MasterKey Horizon 1 - Bond Portfolio'; my $product = 'MasterKey Allocated Pension (Five Star)'; my %quotes = $fq->fetch('mlc', "$fund,$product");
This module downloads MLC fund quotes from
are for general information only, and only provided for residents of Australia. It's your responsibility to ensure your use of this module complies with current and future terms.
The symbols used are the fund name and product name with a comma, for example
MLC Horizon 1 - Bond Portfolio,MasterKey Allocated Pension (Five Star)
This is a lot to type, but you can usually cut and paste it from the web pages. The page source in the link above has them in this form.
The fund part is the actual investment, but there isn't a single price quote for it, rather the price varies with the product due to different fees subtracted.
The following standard
Finance::Quotefields are available
date isodate name currency last close method source success errormsg
Plus the following extras
As of June 2009, prices are published some time in the afternoon of the following business day (Friday's prices some time Monday afternoon). So the date field is always yesterday or the day before yesterday. The currency is always "AUD" Australian dollars.
MLC web site http://www.mlc.com.au
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2014, 2015, 2016 Kevin Ryde
Finance-Quote-Grab is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Finance-Quote-Grab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Finance-Quote-Grab; see the file COPYING. If not, see http://www.gnu.org/licenses/.
Module Install Instructions
To install Finance::Quote::Grab, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Finance::Quote::Grab
For more information on module installation, please visit the detailed CPAN module installation guide.