1Finance::Quote::TwelveDUastear(3C)ontributed Perl DocumeFnitnaatnicoen::Quote::TwelveData(3)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

16       This module fetches information from https://twelvedata.com.
17
18       This module is loaded by default on a Finance::Quote object. It's also
19       possible to load it explicitly by placing "TwelveData" in the argument
20       list to Finance::Quote->new().
21
22       This module provides the "twelvedata" fetch method.
23

API_KEY

25       https://twelvedata.com requires users to register and obtain an API
26       key, which is a secret value written in hexidecimal.
27
28       The API key may be set by either providing a module specific hash to
29       Finance::Quote->new as in the above example, or by setting the
30       environment variable TWELVEDATA_API_KEY.
31
32   FREE KEY LIMITS
33       The TwelveData free key limits usage to:
34
35       800 queries per day
36       8 queries per minute
37

LABELS RETURNED

39       The following labels may be returned by Finance::Quote::TwelveData :
40           symbol name exchange currency isodate currency open high low close
41
42
43
44perl v5.36.1                      2023-08-13     Finance::Quote::TwelveData(3)
Impressum