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

---
type: CommandReference
command: Finance::Quote::CurrencyRates::ECB
mode: perldoc
section: 
source: perldoc
---

## Quick Reference

- `Finance::Quote->new(currency_rates => {order => ['ECB']})` — Create a quote object that uses ECB currency rates
- `$q->currency('18.99 EUR', 'CAD')` — Convert 18.99 EUR to CAD using ECB rates

## Name

Obtain currency rates from https://www.ecb.europa.eu

## Synopsis

perl
use Finance::Quote;

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

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

This module does not accept command-line options. All configuration is passed through the `Finance::Quote` constructor.

## Examples

See Synopsis above. The module caches the ECB rate table for the lifetime of the `Finance::Quote` object after the first conversion call.

## See Also

- [Finance::Quote](https://metacpan.org/pod/Finance::Quote) — Parent module for fetching stock quotes and currency conversions
- [ECB currency rates](https://www.ecb.europa.eu) — Official source of exchange rates

## Exit Codes

Not applicable. This module does not produce exit codes.