You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unexpected response & behavior as part of the stock_info.get_holders() function.
Example of unexpected behavior:
from yahoo_fin import stock_info
a = stock_info.get_holders("DSRT")
a
{'Major Holders': Symbol Name Last Price Sector / Category Type Exchange
0 DPST Direxion Daily Regional Banks B 70.23 NaN ETF PCX
1 DUST Direxion Daily Gold Miners Inde 7.62 NaN ETF PCX
2 DRS Leonardo DRS, Inc. 25.51 Industrials Stocks NMS
3 DRTS Alpha Tau Medical Ltd. 2.53 Healthcare Stocks NCM
4 PRST Presto Automation, Inc. 0.08 Technology Stocks NGM
5 DTST Data Storage Corporation 6.56 Technology Stocks NCM
6 TRST TrustCo Bank Corp NY 28.77 Financial Services Stocks NMS
7 DRCT Direct Digital Holdings, Inc. 4.03 Communication Services Stocks NCM
8 FRST Primis Financial Corp. 10.48 Financial Services Stocks NGM
9 DIST Distoken Acquisition Corporatio 10.78 Financial Services Stocks NGM
10 GRST ETHEMA HEALTH CORPORATION 0.00 Healthcare Stocks PNK
11 BRST BROAD STREET REALTY INC 0.28 Real Estate Stocks OQX
12 DST DST NaN NaN Stocks NYQ
13 DRSK Aptus Defined Risk ETF 27.03 NaN ETF BTS
14 RST RST 29.99 NaN Stocks NYQ
15 HRST HARVEST OIL & GAS CORPORATION 2.57 Energy Stocks PNK
16 DRSX DRSX 0.08 NaN Stocks PNK
17 RRST RRST NaN Technology Stocks NMS
18 ARST ARST 0.00 NaN Stocks PNK
19 DEST DEST NaN NaN Stocks NMS
20 DRTT DRTT NaN NaN Stocks NCM
21 DRSV DRSV 0.00 NaN Stocks PNK, 'Direct Holders (Forms 3 and 4)': Symbol Last Price Change % Change
0 NKENIKE, Inc. 75.37 -18.82 -19.98%
1 SAVACassava Sciences, Inc. 12.35 -6.60 -34.83%
2 DJTTrump Media & Technology Group Corp. 32.75 -3.98 -10.84%
3 DISThe Walt Disney Company 99.29 -2.88 -2.82%
4 COSMCosmos Health Inc. 1.04 0.36 +52.94%}
Example of expected behavior:
df = pd.DataFrame(stock_info.get_holders(ticker="DSRT")['Major Holders'])
df
Breakdown Unnamed: 1
0 25.67% % of Shares Held by All Insider
1 2.76% % of Shares Held by Institutions
2 3.71% % of Float Held by Institutions
3 31 Number of Institutions Holding Shares
The text was updated successfully, but these errors were encountered:
Unexpected response & behavior as part of the stock_info.get_holders() function.
Example of unexpected behavior:
Example of expected behavior:
The text was updated successfully, but these errors were encountered: