perldoc > Finance::Quote::CurrencyRates::ECB

📄 NAME

Finance::Quote::CurrencyRates::ECB — Obtain currency rates from https://www.ecb.europa.eu

🚀 Quick Reference

Use CaseCommandDescription
Initialize with ECB rates $q = Finance::Quote->new(currency_rates => {order => ['ECB']}); Create a Finance::Quote object that uses ECB as the currency rate source.
Convert currency $value = $q->currency('18.99 EUR', 'CAD'); Convert 18.99 EUR to Canadian dollars using ECB rates.

📝 SYNOPSIS

use Finance::Quote;

$q = Finance::Quote->new(currency_rates => {order => ['ECB']});

$value = $q->currency('18.99 EUR', 'CAD');

📖 DESCRIPTION

This module fetches currency rates from https://www.ecb.europa.eu and provides data to Finance::Quote to convert the first argument to the equivalent value in the currency indicated by the second argument.

The European Central Bank provides a small list of currencies, quoted against the Euro. This module caches the table of rates for the lifetime of the Finance::Quote object after the first currency conversion.

⚠️ Terms & Conditions

Use of https://www.ecb.europa.eu is governed by any terms & conditions of that site.

Finance::Quote is released under the GNU General Public License, version 2, which explicitly carries a "No Warranty" clause.

Finance::Quote::CurrencyRates::ECB
📄 NAME 🚀 Quick Reference 📝 SYNOPSIS 📖 DESCRIPTION
⚠️ Terms & Conditions

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 09:21 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format