logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Api_Key

       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.

   FREEKEYLIMITS
       The TwelveData free key limits usage to:

       800 queries per day
       8 queries per minute

Description

       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.

Labels Returned

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

perl v5.40.1                                       2025-05-16                    Finance::Quote::TwelveData(3pm)

Name

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

Synopsis

           use Finance::Quote;

           $q = Finance::Quote->new('TwelveData', twelvedata => {API_KEY => 'your-twelvedata-api-key'});

           %info = $q->fetch('twelvedata', 'IBM', 'AAPL');

See Also