Skip to content
Sections
>> Trisquel >> Paket >> aramo >> perl >> libfinance-quote-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Källkod: libfinance-quote-perl  ]

Paket: libfinance-quote-perl (1.51-1)

Perl module for retrieving stock quotes from a variety of sources

Finance::Quote gets stock quotes from various internet sources all over the world. Quotes are obtained by constructing a quoter object and using the fetch method to gather data, which is returned as a two-dimensional hash (or a reference to such a hash, if called in a scalar context). For example:

 $q = Finance::Quote->new;
 %info = $q->fetch("australia", "CML");
 print "The price of CML is ".$info{"CML", "price"};

The first part of the hash (eg, "CML") is referred to as the stock. The second part (in this case, "price") is referred to as the label.

Andra paket besläktade med libfinance-quote-perl

  • beror
  • rekommenderar
  • föreslår

Hämta libfinance-quote-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 165,5 kbyte499 kbyte [filförteckning]