Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the free user can only get 28 companies for SP500 index? #35

Open
hwypengsir opened this issue Jan 21, 2023 · 0 comments
Open

Does the free user can only get 28 companies for SP500 index? #35

hwypengsir opened this issue Jan 21, 2023 · 0 comments

Comments

@hwypengsir
Copy link

hwypengsir commented Jan 21, 2023

Does the free user can only get 28 companies for SP500 index?

sp500com = nasdaqdatalink.get_table('SHARADAR/SP500', action='current')
sp500com
           date   action ticker  ... contraticker contraname  note
None                             ...                              
0    2023-01-20  current    XOM  ...          N/A        N/A  None
1    2023-01-20  current    WMT  ...          N/A        N/A  None
2    2023-01-20  current     VZ  ...          N/A        N/A  None
3    2023-01-20  current    UNH  ...          N/A        N/A  None
4    2023-01-20  current   TSLA  ...          N/A        N/A  None
5    2023-01-20  current    TRV  ...          N/A        N/A  None
6    2023-01-20  current     PG  ...          N/A        N/A  None
7    2023-01-20  current    PFE  ...          N/A        N/A  None
8    2023-01-20  current    NKE  ...          N/A        N/A  None
9    2023-01-20  current   MSFT  ...          N/A        N/A  None
10   2023-01-20  current    MRK  ...          N/A        N/A  None
11   2023-01-20  current    MMM  ...          N/A        N/A  None
12   2023-01-20  current    MCD  ...          N/A        N/A  None
13   2023-01-20  current     KO  ...          N/A        N/A  None
14   2023-01-20  current    JPM  ...          N/A        N/A  None
15   2023-01-20  current    JNJ  ...          N/A        N/A  None
16   2023-01-20  current   INTC  ...          N/A        N/A  None
17   2023-01-20  current    IBM  ...          N/A        N/A  None
18   2023-01-20  current     HD  ...          N/A        N/A  None
19   2023-01-20  current     GS  ...          N/A        N/A  None
20   2023-01-20  current     GE  ...          N/A        N/A  None
21   2023-01-20  current     DD  ...          N/A        N/A  None
22   2023-01-20  current    CVX  ...          N/A        N/A  None
23   2023-01-20  current   CSCO  ...          N/A        N/A  None
24   2023-01-20  current    CAT  ...          N/A        N/A  None
25   2023-01-20  current     BA  ...          N/A        N/A  None
26   2023-01-20  current    AXP  ...          N/A        N/A  None
27   2023-01-20  current   AAPL  ...          N/A        N/A  None

[28 rows x 7 columns]
len(sp500com)
28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant