Finance::YahooJPN::QuoteDetail - fetch detail quotes of Japanese stock markets.
use Finance::YahooJPN::QuoteDetail;
$qd = Finance::YahooJPN::QuoteDetail->new({'symbol'=>$symbol.$market});
$qd = Finance::YahooJPN::QuoteDetail->new({'symbol'=>$symbol,market=>$market});
$qd = Finance::YahooJPN::QuoteDetail->new({'symbol'=>$symbol.$market,'proxy'=>$proxy});
$qd = Finance::YahooJPN::QuoteDetail->new({'symbol'=>$symbol,'proxy'=>$proxy,'market'=>$market})
$qd->quote();
$qd->get_symbol_name(); * you can use this method only if your computer use Japange Character.
$qd->get_last_trade_price();
$qd->get_high_price();
$qd->get_low_price();
$qd->get_prev_close();
$qd->get_volume();
$qd->get_change();
QuoteDetail was written by Takashi Saeki <tsaeki@yf7.so-net.ne.jp>
Copyright (C)2004 Takashi Saeki. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.
$qd = Finance::YahooJPN::QuoteDetail->new({'symbol'=>6758,'market'=>"t"}); $qd->quote; $qd->get_last_trade_price(); # quote method sets all value into hash, so it's a little slow. $qd = Finance::YahooJPN::QuoteDetail->new({'symbol'=>6758,'market'=>"t"}); $qd->quick_quote; $qd->get_last_trade_price(); # quick_quote method set no value into hash.If you call get_xxxx,method sets one value into hash,and return it.
To install Finance::YahooJPN::QuoteDetail, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::YahooJPN::QuoteDetail
CPAN shell
perl -MCPAN -e shell install Finance::YahooJPN::QuoteDetail
For more information on module installation, please visit the detailed CPAN module installation guide.