Usage : my $cotacao = WWW::Finances::Bovespa->new( 'PETR3' ); print $cotacao->{ _codigo }; print $cotacao->{ _descricao }; print $cotacao->{ _codigo }; print $cotacao->{ _ibovespa }; print $cotacao->{ _delay }; print $cotacao->{ _data }; print $cotacao->{ _hora }; print $cotacao->{ _oscilacao }; print $cotacao->{ _valor_ultimo }; print $cotacao->{ _quant_neg }; print $cotacao->{ _mercado }; Purpose : Busca valor atual de acoes na bolsa da bovespa. Returns : Returns a Bovespa obj which is a hash ref with the values obtained.
See Also : http://www.bovespa.com.br
WWW::Finances::Bovespa - Use WWW::Finances::Bovespa to access stock options values directly from bovespa ( w/ 15min lag ).
use WWW::Finances::Bovespa and check out the latest and greatest stock options directly from BOVESPA Be aware that these values always have a 15min delay. If you find some way to work with 0sec delay let me know. If this works for you , enjoy!
Surprisingly, i did not find any module on CPAN that would read values directly from BOVESPA. So here it is! Now cpan is almost complete.
use WWW:Finances::Bovespa my $cotacao = WWW::Finances::Bovespa->new( 'PETR3' ); print $cotacao->{ _codigo }; print $cotacao->{ _descricao }; print $cotacao->{ _codigo }; print $cotacao->{ _ibovespa }; print $cotacao->{ _delay }; print $cotacao->{ _data }; print $cotacao->{ _hora }; print $cotacao->{ _oscilacao }; print $cotacao->{ _valor_ultimo }; print $cotacao->{ _quant_neg }; print $cotacao->{ _mercado };
Let me know
Email me
Hernan Lopes CPAN ID: HERNAN HERNAN hernanlopes@gmail.com
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
http://www.bovespa.com.br
To install WWW::Finances::Bovespa, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Finances::Bovespa
CPAN shell
perl -MCPAN -e shell install WWW::Finances::Bovespa
For more information on module installation, please visit the detailed CPAN module installation guide.