Finance::Quote

(You can suggest changes to this post.)

Finance::Quote
Awright! Finance::Quote now does automatic currency conversion, and makes it dead-simple to use:

use Finance::Quote;
my $quoter = Finance::Quote->new;
$quoter->set_currency("AUD");
my %info = $quoter->fetch("nasdaq","LNUX");

%info will now contain information about VA Linux Systems, except all information will be in Australian dollars, rather than the US dollars which Yahoo supplies it in. This makes me very happy indeed, and means that it's now very very very easy to write stock tickers and the like which show information in your local currency.

Work
We have very sweet people at work, especially Tim from the Support team. Tim hasn't thrown any bugs my way in weeks, for which I'm very grateful.

Bitcoin QR code This site is ad-free, and all text, style, and code may be re-used under a Creative Commons Attribution 3.0 license. If like what I do, please consider supporting me on Patreon, or donating via Bitcoin (1P9iGHMiQwRrnZuA6USp5PNSuJrEcH411f).

comments powered by Disqus