Takashi Saeki > Finance-YahooJPN-QuoteDetail-0.01 > Finance::YahooJPN::QuoteDetail

Download:
Finance-YahooJPN-QuoteDetail-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Finance::YahooJPN::QuoteDetail - fetch detail quotes of Japanese stock markets.

SYNOPSIS ^

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();

AUTHOR ^

QuoteDetail was written by Takashi Saeki <tsaeki@yf7.so-net.ne.jp>

COPYRIGHT AND LICENSE ^

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.

SAMPLE ^

  $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.

ABSTRACT This module provides you functions to fetch detail quotes of Japanese stock markets from Yahoo-Japan-Finance. ^

syntax highlighting: