-
-
25 Feb 2019 11:18:15 UTC
- Distribution: Finance-Quote-Grab
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Issues
- Testers (175 / 0 / 0)
- Kwalitee
Bus factor: 1- 31.90% Coverage
- License: gpl_3
- Perl: v5.5.0
- Activity
24 month- Tools
- Download (61.7KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Kevin Ryde
- Dependencies
- Finance::Quote
- HTML::TableExtract
- HTTP::Request
- HTTP::Response
- LWP
- Scalar::Util
- URI::Escape
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Finance::Quote::Casablanca - download Casablanca Stock Exchange quotes
SYNOPSIS
use Finance::Quote; my $fq = Finance::Quote->new ('Casablanca'); my %quotes = $fq->fetch('casablanca','MNG','BCE');
DESCRIPTION
This module downloads stock quotes from the Casablanca Stock Exchange,
Using pages like,
http://www.casablanca-bourse.com/cgi/ASP/Donnees_Valeur/anglais/Donnes_valeurs.asp?ticker_valeur=MNG
The web site terms can be found at the end of the home page. As of June 2009 reproduction of information is for personal private use. It's your responsibility to ensure your use of this module complies with current and future terms.
Quotes are delayed by 20 minutes.
Fields
The following standard
Finance::Quote
fields are availabledate isodate name currency bid ask open high low last close p_change volume year_range eps div ex_div div_yield cap method source success errormsg
ex_div
is in ISO YYYY-MM-DD format, or if no dividend at all then the field is omitted.Plus the following extra fields
bid_quantity number of shares at the bid ask_quantity number of shares offered at the ask dollar_volume_both_sides year_high \ as per year_range year_low / net_profit total company profit payout_percent how much of net profit paid as dividends par_value of each share shares_on_issue nominal_capital par_value * shares_on_issue
cap
(market capitalization) islast
timesshares_on_issue
.net_profit
iseps
timesshares_on_issue
.dollar_volume_both_sides
is so named since it seems to add both the buyer's dollar value and seller's dollar value, ie. roughly "2 * last * volume".SEE ALSO
Casablanca Stock Exchange web site http://www.casablanca-bourse.com
HOME PAGE
http://user42.tuxfamily.org/finance-quote-grab/index.html
LICENCE
Copyright 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.
cpanm Finance::Quote::Grab
perl -MCPAN -e shell install Finance::Quote::Grab
For more information on module installation, please visit the detailed CPAN module installation guide.