1Finance::Quote::IEXClouUds(e3r)Contributed Perl DocumentFaitniaonnce::Quote::IEXCloud(3)
2
3
4
6 Finance::Quote::IEXClound - Obtain quotes from https://iexcloud.io
7
9 use Finance::Quote;
10
11 $q = Finance::Quote->new('IEXCloud', iexcloud => {API_KEY => 'your-iexcloud-api-key'});
12
13 %info = Finance::Quote->fetch("IBM", "AAPL");
14
16 This module fetches information from https://iexcloud.io.
17
18 This module is loaded by default on a Finance::Quote object. It's also
19 possible to load it explicitly by placing "IEXCloud" in the argument
20 list to Finance::Quote->new().
21
22 This module provides the "iexcloud" fetch method.
23
25 https://iexcloud.io requires users to register and obtain an API key,
26 which is also called a token. The token may contain a prefix string,
27 such as 'pk_' and then a sequence of random digits.
28
29 The API key may be set by either providing a module specific hash to
30 Finance::Quote->new as in the above example, or by setting the
31 environment variable IEXCLOUD_API_KEY.
32
34 The following labels may be returned by Finance::Quote::IEXClound :
35 symbol, open, close, high, low, last, volume, method, isodate,
36 currency.
37
38
39
40perl v5.34.0 2021-11-10 Finance::Quote::IEXCloud(3)