The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

sample_function

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 ações 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

NAME

WWW::Finances::Bovespa - Use WWW::Finances::Bovespa to access stock options values directly from bovespa ( w/ 15min lag ).

SYNOPSIS

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!

DESCRIPTION

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.

USAGE

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 };

BUGS

Let me know

SUPPORT

Email me

AUTHOR

Hernan Lopes
CPAN ID: HERNAN
HERNAN
hernanlopes@gmail.com

COPYRIGHT

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.

SEE ALSO

http://www.bovespa.com.br

1 POD Error

The following errors were encountered while parsing the POD:

Around line 36:

Non-ASCII character seen before =encoding in 'ações'. Assuming UTF-8