table of contents
Finance::Quote::Consorsbank(3pm) | User Contributed Perl Documentation | Finance::Quote::Consorsbank(3pm) |
NAME¶
Finance::Quote::Consorsbank - Obtain quotes from Consorsbank.
SYNOPSIS¶
use Finance::Quote; $q = Finance::Quote->new; or $q = Finance::Quote->new("Consorsbank", "consorsbank" => { "EXCHANGE" => "Xetra" }); %stockinfo = $q->fetch("consorsbank","DE0007664005"); # Only query consorsbank using ISIN. %stockinfo = $q->fetch("consorsbank","766400"); # Only query consorsbank using WKN. %stockinfo = $q->fetch("europe","DE0007664005"); # Failover to other sources OK. @exchanges = @{ $info{ "DE0007664005", "exchanges" } }; # List of available marketplaces
DESCRIPTION¶
This module obtains information from Consorsbank (https://www.consorsbank.de).
It accepts ISIN or German WKN as requested symbol.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "Consorsbank" in the argument list to Finance::Quote->new().
This module provides both the "consorsbank" and "europe" fetch methods. Please use the "europe" fetch method if you wish to have failover with other sources for European stock exchanges. Using the "consorsbank" method will guarantee that your information only comes from the Consorsbank service.
EXCHANGE¶
https://www.consorsbank.de/ supports different market places. A default is not specified.
"Xetra" alias "GER" "Tradegate" alias "GAT" "gettex" alias "TRO" "Berlin" alias "BER" ... any many more ...
The EXCHANGE may be set by providing a module specific hash to Finance::Quote->new as in the above example (optional).
LABELS RETURNED¶
The following labels may be returned by Finance::Quote::Consorsbank:
symbol, wkn, isin, name, method, source, exchange, exchanges, currency, ask, bid, date, day_range, high, last, low, net, open, close, p_change, volume, year_range
2025-05-16 | perl v5.40.1 |