Finance::Quote::Sberbank - Obtain quotes from Sberbank (Savings Bank of the Russian Federation)
use Finance::Quote; my $quoter = Finance::Quote->new("Sberbank"); my %info = $quoter->fetch("sberbank", "SBRF.PD"); # Palladium print "$info{'SBRF.PD','date'} $info{'SBRF.PD','last'}\n";
This module fetches metal quotes information from the Sberbank (Savings Bank of the Russian Federation) http://sbrf.ru. It fetches quotes for next metals: Gold (SBRF.AU), Silver (SBRF.AG), Platinum (SBRF.PT), Palladium (SBRF.PD).
It's not loaded as default Finance::Quote module, so you need create it by Finance::Quote->new("Sberbank"). If you want it to load by default, make changes to Finance::Quote default module loader, or use FQ_LOAD_QUOTELET environment variable. Gnucash example: FQ_LOAD_QUOTELET="-defaults Sberbank" gnucash
The following labels may be returned by Finance::Quote::Sberbank :
name last bid ask date isodate currency
Sberbank (Savings Bank of the Russian Federation), http://sbrf.ru .
Alexander Korolyoff, <kilork@yandex.ru>
Copyright (C) 2008 by Alexander Korolyoff. 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.8 or, at your option, any later version of Perl 5 you may have available.
To install Finance::Quote::Sberbank, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Quote::Sberbank
CPAN shell
perl -MCPAN -e shell install Finance::Quote::Sberbank
For more information on module installation, please visit the detailed CPAN module installation guide.