我用来pandas_datarader
获取纳斯达克的股票数据。
我发现get_nasdaq_symbols()
它为每只股票返回了一些很好的信息。
这是代码:
In [27]: from pandas_datareader import data as pdr
...:
...: all_symbols = pdr.get_nasdaq_symbols()
...:
...: all_symbols.head()
...:
Out[27]:
Nasdaq Traded Security Name \
Symbol
A True Agilent Technologies, Inc. Common Stock
AA True Alcoa Corporation Common Stock
AAAP True Advanced Accelerator Applications S.A. - Ameri...
AABA True Altaba Inc. - Common Stock
AAC True AAC Holdings, Inc. Common Stock
Listing Exchange Market Category ETF Round Lot Size Test Issue \
Symbol
A N False 100.0 False
AA N False 100.0 False
AAAP Q Q False 100.0 False
AABA Q Q False 100.0 False
AAC N False 100.0 False
Financial Status CQS Symbol NASDAQ Symbol NextShares
Symbol
A NaN A A False
AA NaN AA AA False
AAAP N NaN AAAP False
AABA N NaN AABA False
AAC NaN AAC AAC False
它返回pandas DataFrame
对象。现在我选择了一行(符号)
In [28]: all_symbols.loc['AAPL']
Out[28]:
Nasdaq Traded True
Security Name Apple Inc. - Common Stock
Listing Exchange Q
Market Category Q
ETF False
Round Lot Size 100
Test Issue False
Financial Status N
CQS Symbol NaN
NASDAQ Symbol AAPL
NextShares False
Name: AAPL, dtype: object
我想知道每列的含义是什么。我查看了源代码,但没有任何相关信息。
具体来说,以下是我很好奇的:
Listing Exchange
: 本身的意义和它的值('A', 'N', 'P', 'Q', 'Z', None
) 表示什么Market Category
' ', 'G', 'Q', 'S'
:(其值集)的含义Test Issue
: 表示哪个测试?Financial Status
nan, 'D', 'H', 'N', 'G', 'E'
:(其值集)的含义CQS symbol
: 详细是什么CQS
意思?NextShares
: 什么NextShares
意思?
谢谢