Fiance::NikkeiQuote

Fiance::NikkeiQuote can get a stock quote from Nihon Keizai Shimbun, Inc. (Nikkei).
Download

Fiance::NikkeiQuote Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Keiichi Daiba
  • Publisher web site:
  • http://search.cpan.org/~daiba/Finance-NikkeiQuote-0.5.1/NikkeiQuote.pm

Fiance::NikkeiQuote Tags


Fiance::NikkeiQuote Description

Fiance::NikkeiQuote can get a stock quote from Nihon Keizai Shimbun, Inc. (Nikkei). Fiance::NikkeiQuote can get a stock quote from Nihon Keizai Shimbun, Inc. (Nikkei).SYNOPSIS use Finance::NikkeiQuote; # For example, it's a sony ;-) my $sony = Finance::NikkeiQuote->new(6758); # Set proxy, if you need $sony->proxy('http://proxy.foo.co.jp:8080'); print "Name : ",($sony->getinfo),"n"; print "Current Price: ",($sony->gettoday),"n"; # 25days Range of stock prices; map{map{print $_,','}@$_;print "n"}@{$sony->getrange25};This module gets stock quote from Nikkei. The new constructor will return a Finance::NikkeiQuote object, while the proxy method to use proxy server. The return value of getinfo method is an array, with the following elements: 0 company name in Japanese 1 company name in EnglishThe return value of gettoday method is an array, with the following elements: 0 Open Price 1 High Price 2 Low Price 3 Current Price 4 VolumeThe getrange25 method returns an array of pointers to arryas with the following elements: 0 Date 1 Open Price 2 High Price 3 Low Price 4 Close Price 5 Volume Requirements: · Perl


Fiance::NikkeiQuote Related Software