Finance...e::XETRA(3)
πΈ Finance::Quote::xetra (that's the Finance...e::XETRA(3) page bestie, welcome) π
okay so real talk, this is the Finance::Quote::xetra manual page and it's literally your cheat code for pulling stock quotes off the S-Investor platform. let's get into it β¨
β¨ NAME β¨
Finance::Quote::xetra β Obtain quotes from S-Investor platform. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
here's the whole thing, copy-paste ready, no cap:
use Finance::Quote;
$q = Finance::Quote->new;
or
$q = Finance::Quote->new('XETRA', 'xetra' => {INST_ID => 'your institute id'});
%info = Finance::Quote->fetch("xetra", "DE000ENAG999"); # Only query xetra
%info = Finance::Quote->fetch("europe", "brd"); # Failover to other sources OK.
see those two fetch lines? one is strictly xetra-only energy (# Only query xetra), and the other is like "try europe and if it flops we failover to other sources, it's fine, we're fine" (# Failover to other sources OK.). iconic behavior tbh π¦
π DESCRIPTION π
so this module fetches info from https://s-investor.de/ β that's the investment platform of the German Sparkasse banking group, iykyk. and where does it get the actual share prices? from XETRA, a major German trading platform. and here's the gag: the prices on XETRA serve as the basis for calculating the DAX and other stock market indices. like, main character energy much? π
it's suitable for shares and ETFs that are traded in Germany. π©πͺ
this module is loaded by default on a Finance::Quote object (no extra work, slay). but it's also possible to load it explicitly by placing "XETRA" in the argument list to Finance::Quote->new(). your choice bestie, both work π«Ά
this module provides "xetra" and "europe" fetch methods. two methods, double the fun π
heads up: information obtained by this module may be covered by s-investor.de terms and conditions. read those, they're not a vibe to ignore π
π INST_ID π
https://s-investor.de/ supports different institute IDs, so there's like a whole roster of them. the default value "0000057" is used (Krefeld) if no institute ID is provided. a list of institute IDs is provided here:
https://web.s-investor.de/app/webauswahl.jsp
the INST_ID may be set by providing a module specific hash to Finance::Quote->new as in the above example (optional). optional! so don't stress if you don't have one, the default's got you β
π LABELS RETURNED π
these are the labels you get back, all of them, no skipping:
currency exchange last method success symbol volume price close change p_change
collect them all like little trading cards fr fr π
ngl that's the whole page. short, sweet, and it just works π
sign-off time bestie π§ β this lil doc lives at perl v5.32.1, dated 2026-10-26, and yes the footer still whispers Finance...e::XETRA(3) at you. take care, go get those quotes, mwah ππ
π¦ where this page comes from
- epel 9: perl-Finance-Quote 1.7200-1.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms