This repository includes ready-to-go S&P 500 stock historical data. For a sample data set, you can see it in the data folder.
You can get all historical key metrics, including
- Balance sheet growth
- Balance sheet statement
- Cash flow growth
- Cash flow statement
- Financial growth
- Income growth
- Income statement
- Key metrics
- Ratios
- Prices (OHLC)
- S&P 500 stocks list
- S&P 500 stocks change history
- S&P 500 company profiles
From as early as 1980 to the end of 2023 at 10 USD
. For details, please reach out to me at [email protected]
.
For example, in the key metrics data, for each of the stock it contains columns:
- symbol: The stock ticker symbol representing the company.
- date: The date on which the data was recorded.
- calendarYear: The year the financial data corresponds to.
- period: The financial period (e.g., Q1, Q2, Q3, Q4, FY for fiscal year).
- revenuePerShare: Total revenue divided by the number of outstanding shares.
- netIncomePerShare: Net income (profits) divided by the number of outstanding shares.
- operatingCashFlowPerShare: Cash flow from operations divided by the number of outstanding shares.
- freeCashFlowPerShare: Free cash flow (operating cash flow minus capital expenditures) per share.
- cashPerShare: Total cash available divided by the number of outstanding shares.
- bookValuePerShare: Company's total assets minus liabilities and intangible assets, divided by the number of outstanding shares.
- tangibleBookValuePerShare: Book value minus intangible assets and goodwill, divided by the number of shares.
- shareholdersEquityPerShare: Total equity divided by the number of outstanding shares.
- interestDebtPerShare: Total interest-bearing debt divided by the number of outstanding shares.
- marketCap: The total market value of the company's outstanding shares.
- enterpriseValue: Company's total value, including debt and excluding cash.
- peRatio: Price-to-Earnings ratio, the ratio of the company's stock price to its earnings per share.
- priceToSalesRatio: The ratio of the company's stock price to its revenue per share.
- pocfratio: Price to Operating Cash Flow ratio.
- pfcfRatio: Price to Free Cash Flow ratio.
- pbRatio: Price-to-Book ratio, the ratio of market price to book value per share.
- ptbRatio: Price-to-Tangible Book ratio, similar to P/B but uses tangible book value.
- evToSales: Enterprise Value to Sales ratio.
- enterpriseValueOverEBITDA: Enterprise value divided by Earnings Before Interest, Taxes, Depreciation, and Amortization.
- evToOperatingCashFlow: Enterprise Value to Operating Cash Flow ratio.
- evToFreeCashFlow: Enterprise Value to Free Cash Flow ratio.
- earningsYield: Earnings per share divided by the stock price.
- freeCashFlowYield: Free Cash Flow per share divided by the stock price.
- debtToEquity: Total debt divided by total shareholders' equity.
- debtToAssets: Total debt divided by total assets.
- netDebtToEBITDA: Net debt divided by EBITDA.
- currentRatio: Current assets divided by current liabilities.
- interestCoverage: Earnings before interest and taxes (EBIT) divided by interest expense.
- incomeQuality: A measure of the proportion of income coming from core business operations.
- dividendYield: Annual dividends per share divided by the stock price.
- payoutRatio: The proportion of earnings paid out as dividends.
- salesGeneralAndAdministrativeToRevenue: SG&A expenses divided by total revenue.
- researchAndDdevelopementToRevenue: R&D expenses divided by total revenue.
- intangiblesToTotalAssets: Intangible assets divided by total assets.
- capexToOperatingCashFlow: Capital expenditures divided by operating cash flow.
- capexToRevenue: Capital expenditures divided by revenue.
- capexToDepreciation: Capital expenditures divided by depreciation expenses.
- stockBasedCompensationToRevenue: Stock-based compensation divided by revenue.
- grahamNumber: A figure that measures a stock's fundamental value calculated using earnings per share and book value.
- roic: Return on Invested Capital.
- returnOnTangibleAssets: Net income divided by tangible assets.
- grahamNetNet: A value investing formula that compares stock price to net current asset value.
- workingCapital: Current assets minus current liabilities.
- tangibleAssetValue: The total value of physical, non-abstract assets.
- netCurrentAssetValue: Current assets minus current liabilities and long-term debt.
- investedCapital: Total capital invested by shareholders and debt holders.
- averageReceivables: Average accounts receivable over a period.
- averagePayables: Average accounts payable over a period.
- averageInventory: Average value of inventory over a period.
- daysSalesOutstanding: Average number of days to collect payment after a sale.
- daysPayablesOutstanding: Average number of days a company takes to pay its invoices.
- daysOfInventoryOnHand: Average number of days a company holds inventory before selling it.
- receivablesTurnover: Sales divided by average accounts receivable.
- payablesTurnover: Cost of goods sold divided by average accounts payable.
- inventoryTurnover: Cost of goods sold divided by average inventory.
- roe: Return on Equity, net income divided by shareholders' equity.
- capexPerShare: Capital expenditures divided by the number of outstanding shares.
- GICS Sector: Global Industry Classification Standard sector classification.
- GICS Sub-Industry: Global Industry Classification Standard sub-industry classification.
With the extensive range of historical financial data, from balance sheets to S&P 500 company profiles spanning from 1980 to 2023, there are numerous analytical and research opportunities. Here are some potential uses for this data:
-
Stock Performance Analysis:
- Analyze long-term performance trends of individual stocks or the S&P 500 as a whole.
- Identify patterns and correlations between stock prices and specific financial metrics.
-
Fundamental Analysis for Investment:
- Use key metrics and financial statements for fundamental analysis to assess the intrinsic value of stocks.
- Compare P/E, P/B ratios, and other financial ratios to industry averages for investment decisions.
-
Algorithmic Trading Strategies:
- Develop and backtest algorithmic trading strategies using historical price data (OHLC).
- Test strategies for different market conditions and time periods.
-
Market Trend Analysis:
- Analyze trends and changes in the overall market using the S&P 500 stocks list and change history.
- Study market cycles, bull and bear markets, and their impacts on various sectors.
-
Corporate Financial Health Assessment:
- Assess the financial health and growth of companies through balance sheet, income statement, and cash flow data.
- Identify companies with strong financials for potential investment.
-
Sector Analysis:
- Segment the S&P 500 stocks by sector and perform sector-specific analyses.
- Compare sector performance over time and identify leading and lagging sectors.
-
Predictive Modeling and Forecasting:
- Use historical data to build predictive models for forecasting stock prices or market movements.
- Apply machine learning techniques to predict trends based on financial growth and income growth metrics.
-
Risk Management and Diversification:
- Analyze historical data to understand risk factors associated with different stocks and sectors.
- Develop a diversified portfolio strategy based on historical performance and risk profiles.
-
Economic Research and Analysis:
- Use the data to conduct broader economic research, such as the relationship between market performance and economic indicators.
- Study the impact of major economic events on the stock market.
-
Educational and Training Purposes:
- Utilize the dataset for educational purposes, such as teaching financial analysis, investment strategies, or econometrics.
- Create case studies and practical exercises for finance students or trainees.
This data offers a wealth of opportunities for analysis, not just for making informed investment decisions, but also for academic research, developing financial models, and understanding market dynamics over a significant historical period.