GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Finance::Quote::TwelveData(3) User Contributed Perl Documentation Finance::Quote::TwelveData(3)

Finance::Quote::TwelveData - Obtain quotes from https://twelvedata.com

    use Finance::Quote;
    
    $q = Finance::Quote->new('TwelveData', twelvedata => {API_KEY => 'your-twelvedata-api-key'});
    %info = $q->fetch('twelvedata', 'IBM', 'AAPL');

This module fetches information from https://twelvedata.com.

This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "TwelveData" in the argument list to Finance::Quote->new().

This module provides the "twelvedata" fetch method.

https://twelvedata.com requires users to register and obtain an API key, which is a secret value written in hexidecimal.

The API key may be set by either providing a module specific hash to Finance::Quote->new as in the above example, or by setting the environment variable TWELVEDATA_API_KEY.

The TwelveData free key limits usage to:

800 queries per day
8 queries per minute

The following labels may be returned by Finance::Quote::TwelveData :
symbol name exchange currency isodate currency open high low close last

2025-04-27 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.