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