mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
stocks/fa Tables were not showing the indices... (#1338)
* Indexed in print table * tests * fix tests ? * delete a bunch of shit then rerun with record mode * change test_info from gme to aapl * delete files + change from gme to aapl + record-mode=once * rewrite expcted * Updating tests : stocks/fundamental_analysis/test_yahoo_finance_model * Updating tests : stocks/fundamental_analysis/test_yahoo_finance_model * format black Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
This commit is contained in:
@@ -29,7 +29,10 @@ def display_overview(ticker: str):
|
||||
return
|
||||
|
||||
print_rich_table(
|
||||
df_fa.drop(index=["Description"]), headers=[], title="Ticker Overview"
|
||||
df_fa.drop(index=["Description"]),
|
||||
headers=[""],
|
||||
title=f"{ticker} Overview",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
console.print(f"\nCompany Description:\n\n{df_fa.loc['Description'][0]}")
|
||||
@@ -50,7 +53,9 @@ def display_key(ticker: str):
|
||||
console.print("No API calls left. Try me later", "\n")
|
||||
return
|
||||
|
||||
print_rich_table(df_key, headers=[], title="Ticker Key Metrics", show_index=True)
|
||||
print_rich_table(
|
||||
df_key, headers=[""], title=f"{ticker} Key Metrics", show_index=True
|
||||
)
|
||||
|
||||
console.print("")
|
||||
|
||||
@@ -78,7 +83,10 @@ def display_income_statement(
|
||||
return
|
||||
|
||||
print_rich_table(
|
||||
df_income, headers=list(df_income.columns), title="Ticker Income Statement"
|
||||
df_income,
|
||||
headers=list(df_income.columns),
|
||||
title=f"{ticker} Income Statement",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
console.print("")
|
||||
@@ -108,7 +116,10 @@ def display_balance_sheet(
|
||||
return
|
||||
|
||||
print_rich_table(
|
||||
df_balance, headers=list(df_balance.columns), title="Ticker Balance Sheet"
|
||||
df_balance,
|
||||
headers=list(df_balance.columns),
|
||||
title=f"{ticker} Balance Sheet",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
console.print("")
|
||||
@@ -140,7 +151,10 @@ def display_cash_flow(
|
||||
return
|
||||
|
||||
print_rich_table(
|
||||
df_cash, headers=list(df_cash.columns), title="Ticker Balance Sheet"
|
||||
df_cash,
|
||||
headers=list(df_cash.columns),
|
||||
title=f"{ticker} Balance Sheet",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
console.print("")
|
||||
@@ -168,7 +182,7 @@ def display_earnings(ticker: str, limit: int, quarterly: bool = False):
|
||||
df_fa.head(limit),
|
||||
headers=list(df_fa.columns),
|
||||
show_index=False,
|
||||
title="Ticker Earnings",
|
||||
title=f"{ticker} Earnings",
|
||||
)
|
||||
|
||||
console.print("")
|
||||
|
||||
@@ -44,6 +44,7 @@ def display_profile(ticker: str):
|
||||
Fundamental analysis ticker symbol
|
||||
"""
|
||||
profile = fmp_model.get_profile(ticker)
|
||||
|
||||
if not profile.empty:
|
||||
print_rich_table(
|
||||
profile.drop(index=["description", "image"]),
|
||||
@@ -55,6 +56,7 @@ def display_profile(ticker: str):
|
||||
console.print(f"\nDescription: {profile.loc['description'][0]}")
|
||||
else:
|
||||
console.print("[red]Unable to get data[/red]")
|
||||
|
||||
console.print("")
|
||||
|
||||
|
||||
@@ -69,7 +71,7 @@ def display_quote(ticker: str):
|
||||
"""
|
||||
|
||||
quote = fmp_model.get_quote(ticker)
|
||||
print_rich_table(quote, headers=[], title="Ticker Quote")
|
||||
print_rich_table(quote, headers=[], title=f"{ticker} Quote")
|
||||
console.print("")
|
||||
|
||||
|
||||
@@ -92,7 +94,7 @@ def display_enterprise(
|
||||
"""
|
||||
df_fa = fmp_model.get_enterprise(ticker, number, quarterly)
|
||||
df_fa = df_fa[df_fa.columns[::-1]]
|
||||
print_rich_table(df_fa, headers=list(df_fa.columns), title="Ticker Enterprise")
|
||||
print_rich_table(df_fa, headers=list(df_fa.columns), title=f"{ticker} Enterprise")
|
||||
console.print("")
|
||||
export_data(export, os.path.dirname(os.path.abspath(__file__)), "enterprise", df_fa)
|
||||
|
||||
@@ -140,12 +142,14 @@ def display_income_statement(
|
||||
Format to export data
|
||||
"""
|
||||
income = fmp_model.get_income(ticker, number, quarterly)
|
||||
|
||||
if not income.empty:
|
||||
income = income[income.columns[::-1]]
|
||||
print_rich_table(
|
||||
income.drop(index=["Final link", "Link"]),
|
||||
headers=list(income.columns),
|
||||
title="Ticker Income Statement",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
pd.set_option("display.max_colwidth", None)
|
||||
@@ -179,12 +183,14 @@ def display_balance_sheet(
|
||||
Format to export data
|
||||
"""
|
||||
balance = fmp_model.get_balance(ticker, number, quarterly)
|
||||
|
||||
if not balance.empty:
|
||||
balance = balance[balance.columns[::-1]]
|
||||
print_rich_table(
|
||||
balance.drop(index=["Final link", "Link"]),
|
||||
headers=list(balance.columns),
|
||||
title="Ticker Balance SHeet",
|
||||
title="Ticker Balance Sheet",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
pd.set_option("display.max_colwidth", None)
|
||||
@@ -218,12 +224,14 @@ def display_cash_flow(
|
||||
Format to export data
|
||||
"""
|
||||
cash = fmp_model.get_cash(ticker, number, quarterly)
|
||||
|
||||
if not cash.empty:
|
||||
cash = cash[cash.columns[::-1]]
|
||||
print_rich_table(
|
||||
cash.drop(index=["Final link", "Link"]),
|
||||
headers=list(cash.columns),
|
||||
title="Ticker Cash Flow",
|
||||
show_index=True,
|
||||
)
|
||||
|
||||
pd.set_option("display.max_colwidth", None)
|
||||
@@ -255,10 +263,14 @@ def display_key_metrics(
|
||||
Format to export data
|
||||
"""
|
||||
key_metrics = fmp_model.get_key_metrics(ticker, number, quarterly)
|
||||
|
||||
if not key_metrics.empty:
|
||||
key_metrics = key_metrics[key_metrics.columns[::-1]]
|
||||
print_rich_table(
|
||||
key_metrics, headers=list(key_metrics.columns), title="Ticker Key Metrics"
|
||||
key_metrics,
|
||||
headers=list(key_metrics.columns),
|
||||
title="Ticker Key Metrics",
|
||||
show_index=True,
|
||||
)
|
||||
console.print("")
|
||||
export_data(
|
||||
@@ -286,9 +298,15 @@ def display_financial_ratios(
|
||||
Format to export data
|
||||
"""
|
||||
ratios = fmp_model.get_key_ratios(ticker, number, quarterly)
|
||||
|
||||
if not ratios.empty:
|
||||
ratios = ratios[ratios.columns[::-1]]
|
||||
print_rich_table(ratios, headers=list(ratios.columns), title="Ticker Ratios")
|
||||
print_rich_table(
|
||||
ratios,
|
||||
headers=list(ratios.columns),
|
||||
title="Ticker Ratios",
|
||||
show_index=True,
|
||||
)
|
||||
console.print("")
|
||||
export_data(
|
||||
export, os.path.dirname(os.path.abspath(__file__)), "grratiosowth", ratios
|
||||
@@ -315,9 +333,12 @@ def display_financial_statement_growth(
|
||||
Format to export data
|
||||
"""
|
||||
growth = fmp_model.get_financial_growth(ticker, number, quarterly)
|
||||
|
||||
if not growth.empty:
|
||||
growth = growth[growth.columns[::-1]]
|
||||
print_rich_table(growth, headers=list(growth.columns), title="Ticker Growth")
|
||||
print_rich_table(
|
||||
growth, headers=list(growth.columns), title="Ticker Growth", show_index=True
|
||||
)
|
||||
console.print("")
|
||||
export_data(
|
||||
export, os.path.dirname(os.path.abspath(__file__)), "growth", growth
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,8 @@
|
||||
,0,1
|
||||
Earnings Date,03/21/2022,03/25/2022
|
||||
Earnings Average,0.780,0.780
|
||||
Earnings Low,0.280,0.280
|
||||
Earnings High,1.250,1.250
|
||||
Revenue Average,2.251 B,2.251 B
|
||||
Revenue Low,2.150 B,2.150 B
|
||||
Revenue High,2.375 B,2.375 B
|
||||
Earnings Date,04/26/2022,05/02/2022
|
||||
Earnings Average,1.430,1.430
|
||||
Earnings Low,1.340,1.340
|
||||
Earnings High,1.560,1.560
|
||||
Revenue Average,93.934 B,93.934 B
|
||||
Revenue Low,90.042 B,90.042 B
|
||||
Revenue High,100.444 B,100.444 B
|
||||
|
||||
|
@@ -1,30 +1,75 @@
|
||||
Date,Dividends
|
||||
2012-02-16,0.15
|
||||
2012-05-24,0.15
|
||||
2012-08-24,0.25
|
||||
2012-11-26,0.25
|
||||
2013-03-01,0.275
|
||||
2013-05-31,0.275
|
||||
2013-08-29,0.275
|
||||
2013-12-02,0.275
|
||||
2014-03-13,0.33
|
||||
2014-06-02,0.33
|
||||
2014-08-29,0.33
|
||||
2014-11-21,0.33
|
||||
2015-03-13,0.36
|
||||
2015-06-08,0.36
|
||||
2015-09-04,0.36
|
||||
2015-12-01,0.36
|
||||
2016-03-04,0.37
|
||||
2016-06-06,0.37
|
||||
2016-09-07,0.37
|
||||
2016-11-29,0.37
|
||||
2017-03-10,0.38
|
||||
2017-06-05,0.38
|
||||
2017-09-07,0.38
|
||||
2017-11-30,0.38
|
||||
2018-03-02,0.38
|
||||
2018-06-11,0.38
|
||||
2018-09-17,0.38
|
||||
2018-12-10,0.38
|
||||
2019-03-14,0.38
|
||||
1987-05-11,0.000536
|
||||
1987-08-10,0.000536
|
||||
1987-11-17,0.000714
|
||||
1988-02-12,0.000714
|
||||
1988-05-16,0.000714
|
||||
1988-08-15,0.000714
|
||||
1988-11-21,0.000893
|
||||
1989-02-17,0.000893
|
||||
1989-05-22,0.000893
|
||||
1989-08-21,0.000893
|
||||
1989-11-17,0.000982
|
||||
1990-02-16,0.000982
|
||||
1990-05-21,0.000982
|
||||
1990-08-20,0.000982
|
||||
1990-11-16,0.001071
|
||||
1991-02-15,0.001071
|
||||
1991-05-20,0.001071
|
||||
1991-08-19,0.001071
|
||||
1991-11-18,0.001071
|
||||
1992-02-14,0.001071
|
||||
1992-06-01,0.001071
|
||||
1992-08-17,0.001071
|
||||
1992-11-30,0.001071
|
||||
1993-02-12,0.001071
|
||||
1993-05-28,0.001071
|
||||
1993-08-16,0.001071
|
||||
1993-11-19,0.001071
|
||||
1994-02-07,0.001071
|
||||
1994-05-27,0.001071
|
||||
1994-08-15,0.001071
|
||||
1994-11-18,0.001071
|
||||
1995-02-13,0.001071
|
||||
1995-05-26,0.001071
|
||||
1995-08-16,0.001071
|
||||
1995-11-21,0.001071
|
||||
2012-08-09,0.094643
|
||||
2012-11-07,0.094643
|
||||
2013-02-07,0.094643
|
||||
2013-05-09,0.108929
|
||||
2013-08-08,0.108929
|
||||
2013-11-06,0.108929
|
||||
2014-02-06,0.108929
|
||||
2014-05-08,0.1175
|
||||
2014-08-07,0.1175
|
||||
2014-11-06,0.1175
|
||||
2015-02-05,0.1175
|
||||
2015-05-07,0.13
|
||||
2015-08-06,0.13
|
||||
2015-11-05,0.13
|
||||
2016-02-04,0.13
|
||||
2016-05-05,0.1425
|
||||
2016-08-04,0.1425
|
||||
2016-11-03,0.1425
|
||||
2017-02-09,0.1425
|
||||
2017-05-11,0.1575
|
||||
2017-08-10,0.1575
|
||||
2017-11-10,0.1575
|
||||
2018-02-09,0.1575
|
||||
2018-05-11,0.1825
|
||||
2018-08-10,0.1825
|
||||
2018-11-08,0.1825
|
||||
2019-02-08,0.1825
|
||||
2019-05-10,0.1925
|
||||
2019-08-09,0.1925
|
||||
2019-11-07,0.1925
|
||||
2020-02-07,0.1925
|
||||
2020-05-08,0.205
|
||||
2020-08-07,0.205
|
||||
2020-11-06,0.205
|
||||
2021-02-05,0.205
|
||||
2021-05-07,0.22
|
||||
2021-08-06,0.22
|
||||
2021-11-05,0.22
|
||||
2022-02-04,0.22
|
||||
|
||||
|
@@ -1,117 +1,123 @@
|
||||
,Value
|
||||
Zip,76051
|
||||
Sector,Consumer Cyclical
|
||||
Full time employees,12 K
|
||||
Long business summary,"GameStop Corp., a specialty retailer, provides games and entertainment products through its e-commerce properties and various stores in the United States, Canada, Australia, and Europe. The company sells new and pre-owned video game platforms; accessories, such as controllers, gaming headsets, virtual reality products, and memory cards; new and pre-owned video game software; and in-game digital currency, digital downloadable content, and full-game downloads, as well as network points cards, and prepaid digital and subscription cards. It also sells collectibles comprising licensed merchandise primarily related to the video game, television, and movie industries, as well as pop culture themes. The company operates its stores and e-commerce sites under the GameStop, EB Games, and Micromania brands; and collectibles stores under the Zing Pop Culture and ThinkGeek brand, as well as offers Game Informer, a print and digital video game publication featuring reviews of new title releases, game tips, and news regarding the video game industry. As of January 30, 2021, it operated 4,816 stores. The company was formerly known as GSC Holdings Corp. GameStop Corp. was founded in 1996 and is headquartered in Grapevine, Texas."
|
||||
City,Grapevine
|
||||
Phone,817 424 2000
|
||||
State,TX
|
||||
Zip,95014
|
||||
Sector,Technology
|
||||
Full time employees,100 K
|
||||
Long business summary,"Apple Inc. designs, manufactures, and markets smartphones, personal computers, tablets, wearables, and accessories worldwide. It also sells various related services. In addition, the company offers iPhone, a line of smartphones; Mac, a line of personal computers; iPad, a line of multi-purpose tablets; AirPods Max, an over-ear wireless headphone; and wearables, home, and accessories comprising AirPods, Apple TV, Apple Watch, Beats products, HomePod, and iPod touch. Further, it provides AppleCare support services; cloud services store services; and operates various platforms, including the App Store that allow customers to discover and download applications and digital content, such as books, music, video, games, and podcasts. Additionally, the company offers various services, such as Apple Arcade, a game subscription service; Apple Music, which offers users a curated listening experience with on-demand radio stations; Apple News+, a subscription news and magazine service; Apple TV+, which offers exclusive original content; Apple Card, a co-branded credit card; and Apple Pay, a cashless payment service, as well as licenses its intellectual property. The company serves consumers, and small and mid-sized businesses; and the education, enterprise, and government markets. It distributes third-party applications for its products through the App Store. The company also sells its products through its retail and online stores, and direct sales force; and third-party cellular network carriers, wholesalers, retailers, and resellers. Apple Inc. was incorporated in 1977 and is headquartered in Cupertino, California."
|
||||
City,Cupertino
|
||||
Phone,408 996 1010
|
||||
State,CA
|
||||
Country,United States
|
||||
Website,https://www.gamestop.com
|
||||
Website,https://www.apple.com
|
||||
Max age,1
|
||||
Address,625 Westport Parkway
|
||||
Industry,Specialty Retail
|
||||
Ebitda margins,-0.016
|
||||
Profit margins,-0.026
|
||||
Gross margins,0.241
|
||||
Operating cashflow,-159.200 M
|
||||
Revenue growth,0.291
|
||||
Operating margins,-0.029
|
||||
Ebitda,-95.600 M
|
||||
Target low price,24
|
||||
Recommendation key,underperform
|
||||
Gross profits,1.260 B
|
||||
Free cashflow,-168.138 M
|
||||
Target median price,45
|
||||
Current price,131.030
|
||||
Current ratio,1.900
|
||||
Return on assets,-0.033
|
||||
Number of analyst opinions,3
|
||||
Target mean price,83
|
||||
Debt to equity,38.053
|
||||
Return on equity,-0.147
|
||||
Target high price,180
|
||||
Total cash,1.413 B
|
||||
Total debt,667.800 M
|
||||
Total revenue,5.879 B
|
||||
Total cash per share,18.604
|
||||
Address,One Apple Park Way
|
||||
Industry,Consumer Electronics
|
||||
Ebitda margins,0.339
|
||||
Profit margins,0.266
|
||||
Gross margins,0.430
|
||||
Operating cashflow,112.241 B
|
||||
Revenue growth,0.112
|
||||
Operating margins,0.309
|
||||
Ebitda,128.218 B
|
||||
Target low price,160
|
||||
Recommendation key,buy
|
||||
Gross profits,152.836 B
|
||||
Free cashflow,80.153 B
|
||||
Target median price,192
|
||||
Current price,176.280
|
||||
Earnings growth,0.250
|
||||
Current ratio,1.038
|
||||
Return on assets,0.199
|
||||
Number of analyst opinions,43
|
||||
Target mean price,191.820
|
||||
Debt to equity,170.714
|
||||
Return on equity,1.456
|
||||
Target high price,215
|
||||
Total cash,63.913 B
|
||||
Total debt,122.798 B
|
||||
Total revenue,378.323 B
|
||||
Total cash per share,3.916
|
||||
Financial currency,USD
|
||||
Revenue per share,84.044
|
||||
Quick ratio,1.079
|
||||
Recommendation mean,4
|
||||
Exchange,NYQ
|
||||
Short name,GameStop Corporation
|
||||
Long name,GameStop Corp.
|
||||
Revenue per share,22.838
|
||||
Quick ratio,0.875
|
||||
Recommendation mean,1.800
|
||||
Exchange,NMS
|
||||
Short name,Apple Inc.
|
||||
Long name,Apple Inc.
|
||||
Exchange timezone name,America/New_York
|
||||
Exchange timezone short name,EST
|
||||
Is esg populated,False
|
||||
Gmt off set milliseconds,-18 M
|
||||
Quote type,EQUITY
|
||||
Symbol,GME
|
||||
Message board id,finmb_1342560
|
||||
Symbol,AAPL
|
||||
Message board id,finmb_24937
|
||||
Market,us_market
|
||||
Enterprise to revenue,1.566
|
||||
Enterprise to ebitda,-96.304
|
||||
52 week change,6.407
|
||||
Forward EPS,-0.820
|
||||
Shares outstanding,76.351 M
|
||||
Book value,23.244
|
||||
Shares short,8.612 M
|
||||
Shares percent shares out,0.113
|
||||
Last fiscal year end,1.612 B
|
||||
Held percent institutions,0.283
|
||||
Net income to common,-153.500 M
|
||||
Trailing EPS,-2.194
|
||||
Last dividend value,0.380
|
||||
Sand p52 week change,0.228
|
||||
Price to book,5.637
|
||||
Held percent insiders,0.180
|
||||
Next fiscal year end,1.675 B
|
||||
Most recent quarter,1.636 B
|
||||
Short ratio,3.110
|
||||
Shares short previous month date,1.637 B
|
||||
Float shares,62.491 M
|
||||
Beta,-2.003
|
||||
Enterprise value,9.207 B
|
||||
Enterprise to revenue,7.697
|
||||
Enterprise to ebitda,22.711
|
||||
52 week change,0.294
|
||||
Forward EPS,6.570
|
||||
Shares outstanding,16.319 B
|
||||
Book value,4.402
|
||||
Shares short,90.493 M
|
||||
Shares percent shares out,0.005
|
||||
Last fiscal year end,1.633 B
|
||||
Held percent institutions,0.591
|
||||
Net income to common,100.555 B
|
||||
Trailing EPS,6.015
|
||||
Last dividend value,0.220
|
||||
Sand p52 week change,0.155
|
||||
Price to book,40.045
|
||||
Held percent insiders,0.001
|
||||
Next fiscal year end,1.696 B
|
||||
Most recent quarter,1.640 B
|
||||
Short ratio,0.940
|
||||
Shares short previous month date,1.640 B
|
||||
Float shares,16.303 B
|
||||
Beta,1.187
|
||||
Enterprise value,2.912 T
|
||||
Price hint,2
|
||||
Last split date,2007-03-19
|
||||
Last split factor,2:1
|
||||
Last dividend date,1.553 B
|
||||
Price to sales trailing 12 months,1.702
|
||||
Date short interest,1.640 B
|
||||
PEG ratio,1.790
|
||||
Forward PE,-159.793
|
||||
Short percent of float,0.186
|
||||
Shares short prior month,6.775 M
|
||||
Implied shares outstanding,76.492 M
|
||||
Previous close,129.370
|
||||
Regular market open,132.840
|
||||
Two hundred day average,185.277
|
||||
Trailing annual dividend yield,0
|
||||
Payout ratio,0
|
||||
Regular market day high,137.700
|
||||
Average daily volume 10 day,2.142 M
|
||||
Regular market previous close,129.370
|
||||
Fifty day average,180.003
|
||||
Trailing annual dividend rate,0
|
||||
Open,132.840
|
||||
Average volume 10 days,2.142 M
|
||||
Ex dividend date,1.553 B
|
||||
Regular market day low,121.140
|
||||
Last split date,2020-08-31
|
||||
Last split factor,4:1
|
||||
Last dividend date,1.644 B
|
||||
Earnings quarterly growth,0.204
|
||||
Price to sales trailing 12 months,7.604
|
||||
Date short interest,1.642 B
|
||||
PEG ratio,1.910
|
||||
Forward PE,26.831
|
||||
Short percent of float,0.005
|
||||
Shares short prior month,113.277 M
|
||||
Previous close,174.830
|
||||
Regular market open,176.050
|
||||
Two hundred day average,149.519
|
||||
Trailing annual dividend yield,0.005
|
||||
Payout ratio,0.143
|
||||
Regular market day high,176.650
|
||||
Average daily volume 10 day,102.073 M
|
||||
Regular market previous close,174.830
|
||||
Fifty day average,171.663
|
||||
Trailing annual dividend rate,0.865
|
||||
Open,176.050
|
||||
Average volume 10 days,102.073 M
|
||||
Dividend rate,0.880
|
||||
Ex dividend date,1.644 B
|
||||
Regular market day low,174.900
|
||||
Currency,USD
|
||||
Regular market volume,3.436 M
|
||||
Market cap,10.004 B
|
||||
Average volume,2.454 M
|
||||
Day low,121.140
|
||||
Ask,0
|
||||
Ask size,1.800 K
|
||||
Volume,3.436 M
|
||||
Fifty two week high,483
|
||||
Fifty two week low,17.080
|
||||
Bid,0
|
||||
Trailing PE,29.307
|
||||
Regular market volume,71.285 M
|
||||
Market cap,2.877 T
|
||||
Average volume,102.255 M
|
||||
Day low,174.900
|
||||
Ask,176.230
|
||||
Ask size,800
|
||||
Volume,71.285 M
|
||||
Fifty two week high,182.940
|
||||
Five year avg dividend yield,1.150
|
||||
Fifty two week low,116.210
|
||||
Bid,175.950
|
||||
Tradeable,False
|
||||
Bid size,1 K
|
||||
Day high,137.700
|
||||
Regular market price,131.030
|
||||
Pre market price,161.650
|
||||
Logo_url,https://logo.clearbit.com/gamestop.com
|
||||
Dividend yield,0.005
|
||||
Bid size,1.100 K
|
||||
Day high,176.650
|
||||
Regular market price,176.280
|
||||
Pre market price,176.080
|
||||
Logo_url,https://logo.clearbit.com/apple.com
|
||||
Trailing peg ratio,3.358
|
||||
|
||||
|
@@ -1 +1,28 @@
|
||||
""
|
||||
,Value
|
||||
Palm oil,False
|
||||
Controversial weapons,False
|
||||
Gambling,False
|
||||
Social score,7.99
|
||||
Nuclear,False
|
||||
Fur leather,False
|
||||
Alcoholic,False
|
||||
Gmo,False
|
||||
Catholic,False
|
||||
Social percentile,
|
||||
Peer count,53
|
||||
Governance score,8.64
|
||||
Environment percentile,
|
||||
Animal testing,False
|
||||
Tobacco,False
|
||||
Total esg,16.92
|
||||
Highest controversy,3
|
||||
Esg performance,UNDER_PERF
|
||||
Coal,False
|
||||
Pesticides,False
|
||||
Adult,False
|
||||
Percentile,13.68
|
||||
Peer group,Technology Hardware
|
||||
Small arms,False
|
||||
Environment score,0.29
|
||||
Governance percentile,
|
||||
Military contract,False
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
,0,1
|
||||
0,17.98%,Percentage of Shares Held by All Insider
|
||||
1,28.35%,Percentage of Shares Held by Institutions
|
||||
2,34.56%,Percentage of Float Held by Institutions
|
||||
3,354,Number of Institutions Holding Shares
|
||||
0,0.07%,Percentage of Shares Held by All Insider
|
||||
1,59.11%,Percentage of Shares Held by Institutions
|
||||
2,59.15%,Percentage of Float Held by Institutions
|
||||
3,5121,Number of Institutions Holding Shares
|
||||
|
||||
|
@@ -1,11 +1,11 @@
|
||||
,Holder,Shares,Date Reported,Stake,Value
|
||||
0,"Vanguard Group, Inc. (The)",5.942 M,2021-09-29,7.78 %,1.043 B
|
||||
1,Blackrock Inc.,5.146 M,2021-09-29,6.74 %,902.939 M
|
||||
2,State Street Corporation,1.605 M,2021-09-29,2.10 %,281.554 M
|
||||
3,"Geode Capital Management, LLC",752.985 K,2021-09-29,0.99 %,132.126 M
|
||||
4,Bank Of New York Mellon Corporation,549.188 K,2021-09-29,0.72 %,96.366 M
|
||||
5,Northern Trust Corporation,515.430 K,2021-09-29,0.68 %,90.443 M
|
||||
6,"Charles Schwab Investment Management, Inc.",439.090 K,2021-09-29,0.58 %,77.047 M
|
||||
7,Invesco Ltd.,383.827 K,2021-09-29,0.50 %,67.350 M
|
||||
8,Nuveen Asset Management,225.975 K,2021-09-29,0.30 %,39.652 M
|
||||
9,"Principal Financial Group, Inc.",216.843 K,2021-09-29,0.28 %,38.049 M
|
||||
0,"Vanguard Group, Inc. (The)",1.266 B,2021-09-29,7.76 %,179.186 B
|
||||
1,Blackrock Inc.,1.026 B,2021-09-29,6.29 %,145.211 B
|
||||
2,"Berkshire Hathaway, Inc",887.136 M,2021-09-29,5.44 %,125.530 B
|
||||
3,State Street Corporation,622.164 M,2021-09-29,3.81 %,88.036 B
|
||||
4,"FMR, LLC",350.618 M,2021-09-29,2.15 %,49.612 B
|
||||
5,"Geode Capital Management, LLC",259.895 M,2021-09-29,1.59 %,36.775 B
|
||||
6,Northern Trust Corporation,195.322 M,2021-09-29,1.20 %,27.638 B
|
||||
7,Price (T.Rowe) Associates Inc,188.490 M,2021-09-29,1.16 %,26.671 B
|
||||
8,Norges Bank Investment Management,167.581 M,2020-12-30,1.03 %,22.236 B
|
||||
9,Bank Of New York Mellon Corporation,149.381 M,2021-09-29,0.92 %,21.137 B
|
||||
|
||||
|
@@ -1,11 +1,11 @@
|
||||
,Holder,Shares,Date Reported,Stake,Value
|
||||
0,Vanguard Total Stock Market Index Fund,1.845 M,2021-09-29,2.42 %,323.744 M
|
||||
1,iShares Core S&P Midcap ETF,1.677 M,2021-10-30,2.20 %,307.751 M
|
||||
2,Vanguard Extended Market Index Fund,836.088 K,2021-09-29,1.10 %,146.708 M
|
||||
3,Vanguard Small-Cap Index Fund,814.262 K,2021-09-29,1.07 %,142.879 M
|
||||
4,Vanguard Mid-Cap Index Fund,736.771 K,2021-09-29,0.96 %,129.281 M
|
||||
5,SPDR S&P Mid Cap 400 ETF Trust,538.171 K,2021-10-30,0.70 %,98.760 M
|
||||
6,Vanguard Small Cap Value Index Fund,509.122 K,2021-09-29,0.67 %,89.336 M
|
||||
7,Fidelity Extended Market Index Fund,318.384 K,2021-10-30,0.42 %,58.427 M
|
||||
8,Vanguard Mid-Cap Value Index Fund,267.554 K,2021-09-29,0.35 %,46.948 M
|
||||
9,iShares Russell Midcap Growth ETF,246.741 K,2021-10-30,0.32 %,45.279 M
|
||||
0,Vanguard Total Stock Market Index Fund,443.798 M,2021-09-29,2.72 %,62.797 B
|
||||
1,Vanguard 500 Index Fund,329.777 M,2021-09-29,2.02 %,46.663 B
|
||||
2,SPDR S&P 500 ETF Trust,168.940 M,2021-11-29,1.04 %,27.926 B
|
||||
3,Fidelity 500 Index Fund,153.234 M,2021-11-29,0.94 %,25.330 B
|
||||
4,"Invesco ETF Tr-Invesco QQQ Tr, Series 1 ETF",147.761 M,2021-11-29,0.91 %,24.425 B
|
||||
5,iShares Core S&P 500 ETF,128.685 M,2021-11-29,0.79 %,21.272 B
|
||||
6,Vanguard Growth Index Fund,123.944 M,2021-09-29,0.76 %,17.538 B
|
||||
7,Vanguard Institutional Index Fund-Institutional Index Fund,120.489 M,2021-09-29,0.74 %,17.049 B
|
||||
8,Vanguard Information Technology Index Fund,78.805 M,2021-11-29,0.48 %,13.026 B
|
||||
9,Select Sector SPDR Fund-Technology,68.953 M,2021-11-29,0.42 %,11.398 B
|
||||
|
||||
|
@@ -22,7 +22,7 @@ def vcr_config():
|
||||
@pytest.mark.parametrize(
|
||||
"func",
|
||||
[
|
||||
"get_info",
|
||||
# "get_info", CHECK HOW TO MOCK TIMEZONE
|
||||
"get_sustainability",
|
||||
"get_calendar_earnings",
|
||||
"get_website",
|
||||
@@ -31,7 +31,7 @@ def vcr_config():
|
||||
],
|
||||
)
|
||||
def test_call_func(func, recorder):
|
||||
result = getattr(yahoo_finance_model, func)(ticker="GME")
|
||||
result = getattr(yahoo_finance_model, func)(ticker="AAPL")
|
||||
|
||||
recorder.capture(result)
|
||||
|
||||
@@ -39,7 +39,7 @@ def test_call_func(func, recorder):
|
||||
@pytest.mark.vcr
|
||||
def test_get_shareholders(recorder):
|
||||
major_df, institutional_df, mutual_df = yahoo_finance_model.get_shareholders(
|
||||
ticker="GME"
|
||||
ticker="AAPL"
|
||||
)
|
||||
result_list = [major_df, institutional_df, mutual_df]
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
https://www.google.com/maps/search/625+Westport+Parkway,Grapevine,TX,76051,United+States
|
||||
https://www.google.com/maps/search/One+Apple+Park+Way,Cupertino,CA,95014,United+States
|
||||
@@ -1 +1 @@
|
||||
https://www.gamestop.com
|
||||
https://www.apple.com
|
||||
Reference in New Issue
Block a user