Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
It's an open-source tool that uses publicly available APIs and other sources, and is intended for research and educational purposes only. If you find a bug, try fix it yourself first.
The library was crafted by a Large Language Model, no programmer was hurt during the process
The Ticker
module, gets the financial data from nasdaq.com, morningstar.com as a pandas.DataFrame
import StockHero as stock
nvda = stock.Ticker('NVDA') # e.g. NVIDIA Corp
#or
nvda = stock.Ticker('US67066G1040') # e.g. NVIDIA Corp
''' Morningstar API '''
nvda.morningstar.quote # Quote
nvda.morningstar.key_statistics # Key Statistics (combination of the ones below)
nvda.morningstar.growth_rev # Growth - Revenue %
nvda.morningstar.growth_op_inc # Growth - Operating Income %
nvda.morningstar.growth_net_inc # Growth - Net Income %
nvda.morningstar.growth_eps # Growth - EPS %
''' NASDAQ API '''
nvda.nasdaq.summ # Summary
nvda.nasdaq.div_hist # Dividend History
nvda.nasdaq.hist_quotes_stock # Historical Quotes for Stocks
nvda.nasdaq.hist_quotes_etf # Historical Quotes for ETFs
nvda.nasdaq.hist_nocp # Historical Nasdaq Official Closing Price (NOCP)
nvda.nasdaq.fin_income_statement_y # Financials - Income Statement - Yearly
nvda.nasdaq.fin_balance_sheet_y # Financials - Balance Sheet - Yearly
nvda.nasdaq.fin_cash_flow_y # Financials - Cash Flow - Yearly
nvda.nasdaq.fin_fin_ratios_y # Financials - Financial Ratios - Yearly
nvda.nasdaq.fin_income_statement_q # Financials - Income Statement - Quarterly
nvda.nasdaq.fin_balance_sheet_q # Financials - Balance Sheet - Quarterly
nvda.nasdaq.fin_cash_flow_q # Financials - Cash Flow - Quarterly
nvda.nasdaq.fin_fin_ratios_q # Financials - Financial Ratios - Quarterly
nvda.nasdaq.earn_date_eps # Earnings Date - Earnings Per Share
nvda.nasdaq.earn_date_surprise # Earnings Date - Quarterly Earnings Surprise Amount
nvda.nasdaq.yearly_earn_forecast # Earnings Date - Yearly Earnings Forecast
nvda.nasdaq.quarterly_earn_forecast # Earnings Date - Quarterly Earnings Forecast
nvda.nasdaq.pe_peg_forecast # Price/Earnings, PEG Ratios, Growth Rates Forecast
The StockExchange
module, gets the financial data from the NASDAQ Stock Screener
Added CNN Fear and Greed Index
import StockHero as stock
t = stock.StockExchange('something') # e.g. Nasdaq
''' NASDAQ API '''
t.nasdaq # Nasdaq Stock Market
''' CNN API '''
t.cnn_fear_and_greed # CNN Fear and Greed Index
t.cnn_fear_and_greed_graph_data # CNN Fear and Greed Graph API
You can combine both modules, for example
import StockHero as stock
t = stock.StockExchange('something')
df = t.nasdaq
ticker = df.loc[df['Name'].str.contains('NVIDIA'), 'Symbol'].values[0]
n = stock.Ticker(ticker)
n.morningstar_quote
StockHero is distributed under the Apache Software License
Or in the words of Peter Thiel:
We wanted flying cars, instead we got 140 characters
0.4.21 Bug Fixes
...
0.0.1 First Release
FAQs
market data from finance APIs and other publicy available sources
We found that StockHero demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.