Finance...lveData(3)
π NAME
Finance::Quote::TwelveData β bestie, this is the module that pulls quotes straight from https://twelvedata.com, no cap β¨
π¦ SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new('TwelveData', twelvedata => {API_KEY => 'your-twelvedata-api-key'});
%info = $q->fetch('twelvedata', 'IBM', 'AAPL');
Like, that's literally it. Two lines and you're fetching π
πΈ DESCRIPTION
Okay so this module fetches information from https://twelvedata.com. That's the whole vibe. π«Ά
It's loaded by default on a Finance::Quote object β so it's already there, main character energy, no extra effort required from you. But if you want to be explicit (respect, honestly), you can load it yourself by placing "TwelveData" in the argument list you pass to Finance::Quote->new().
This module is the one that gives you the "twelvedata" fetch method. That's its whole thing. Iconic. π
π API_KEY
Real talk: https://twelvedata.com makes you register and get an API key. It's a secret value written in hexidecimal β so like, guard it with your life, do not be posting that in the group chat π
You've got two ways to set it, pick your fighter:
- Pass a module specific hash to
Finance::Quote->new, exactly like the example up in the SYNOPSIS β - Or set the environment variable
TWELVEDATA_API_KEYπ
β¨ FREE KEY LIMITS
The free key is giving "we're on a budget but make it fashion" β it caps your usage at:
800 queries per day8 queries per minute
So like... pace yourself, babe π
π LABELS RETURNED
These are the labels Finance::Quote::TwelveData may hand you back:
symbol name exchange currency isodate currency open high low close
last
Yep, currency shows up twice in there. That's just how the list is, don't come for me π
And that's the whole page, bestie β go get those quotes π
Signed, sealed, delivered: this was perl v5.32.1, dated 2026-10-26, living under the title Finance...lveData(3) in the User Contributed Perl Documentation corner of the world ππ
π¦ 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