# ews

## Summary

The data consists of various sentiment indices and tone metrics related to the U.S. stock market, including averages, totals, and percentages derived from raw sentiment analysis and business news. These indices are designed to provide insights into market sentiment and trends, utilizing models such as SARIMA and moving averages for analysis.

## Example code

```python
from finter.data import ContentFactory
cf = ContentFactory("us_stock", 20200101, 20200201)
df = cf.get_df("raw_sentiment-1_2-mean_sum")
```

## Metadata

| valid from | delivery schedule                     | time zone | data frequency |
| ---------- | ------------------------------------- | --------- | -------------- |
| 20040101   | <p>0 9 \* \* \*<br>30 21 \* \* \*</p> |           | 1d, 1w, 1m     |

## Item List

* **SP500\_EWS**: S\&P 500 Early Warning System (Monthly)
* **SP500\_EWS**: S\&P 500 Early Warning System (Weekly)
* **SP500\_EWS\_UI\_append**: Monthly UI Additional Sentiment Index for S\&P 500
* **SP500\_EWS\_UI\_append**: Weekly UI Additional Sentiment Index for S\&P 500
* **SP500\_EWS\_biz\_news**: Monthly Business News Sentiment Index for S\&P 500
* **SP500\_EWS\_biz\_news**: Weekly Business News Sentiment Index for S\&P 500
* **SP500\_EWS\_compustat**: S\&P 500 Early Warning System (Based on Compustat, Weekly)
* **SP500\_EWS\_compustat**: S\&P 500 Early Warning System (Compustat-based, Monthly)
* **SP500\_EWS\_origin**: S\&P 500 Early Warning System Original (Monthly)
* **SP500\_EWS\_origin**: S\&P 500 Early Warning System Original (Weekly)
* **SP500\_EWS\_origin\_biz\_news**: Original monthly business news sentiment index for the S\&P 500
* **SP500\_EWS\_origin\_biz\_news**: Original weekly business news sentiment index for the S\&P 500
* **SP500\_EWS\_origin\_compustat**: S\&P 500 Early Warning System Original (Compustat-based, Monthly)
* **SP500\_EWS\_origin\_compustat**: S\&P 500 Early Warning System Original (Compustat-based, Weekly)
* **SP500\_EWS\_origins\_biz\_news**: Original value of the weekly business news sentiment index for the S\&P 500
* **SP500\_EWS\_origins\_biz\_news**: Original values of the monthly business news sentiment index for the S\&P 500
* **SP500\_EWSs\_biz\_news**: Monthly Business News Sentiment Index for S\&P 500
* **SP500\_EWSs\_biz\_news**: Weekly Business News Sentiment Index for S\&P 500
* **post\_sarima\_sent-1\_1-sum\_per**: Percentage of the sentiment index for the US stock market after applying the SARIMA model (alternative version)
* **post\_sarima\_sent-1\_1-sum\_sum**: Total sentiment index of the US stock market after applying the SARIMA model (alternative version)
* **post\_sarima\_sent-1\_2-sum\_per**: Percentage of sentiment index in the US stock market after applying the SARIMA model
* **post\_sarima\_sent-1\_2-sum\_sum**: Total sentiment index of the US stock market after applying the SARIMA model
* **post\_sarima\_sent\_biz\_news-1\_1-sum\_per**: The percentage sum of sentiment analysis results after applying the SARIMA model to business news about the US stock market
* **post\_sarima\_sent\_biz\_news-1\_1-sum\_sum**: The total results of sentiment analysis after applying the SARIMA model to business news about the US stock market
* **post\_sarima\_sent\_biz\_news-1\_2-sum\_per**: The percentage sum of the results of the second type of sentiment analysis after applying the SARIMA model to business news about the US stock market
* **post\_sarima\_sent\_biz\_news-1\_2-sum\_sum**: The total of the second type sentiment analysis results after applying the SARIMA model to business news about the US stock market
* **raw\_sentiment-1\_1-mean\_per**: Average percentage of the U.S. stock market sentiment index
* **raw\_sentiment-1\_1-mean\_sum**: Average Total of the U.S. Stock Market Sentiment Index
* **raw\_sentiment-1\_1-sum\_per**: Percentage of the U.S. Stock Market Sentiment Index
* **raw\_sentiment-1\_1-sum\_sum**: Total Sentiment Index of the U.S. Stock Market
* **raw\_sentiment-1\_2-mean\_per**: Average Percentage of the U.S. Stock Market Sentiment Index (Alternative Version)
* **raw\_sentiment-1\_2-mean\_sum**: Average Total of the U.S. Stock Market Sentiment Index (Alternative Version)
* **raw\_sentiment-1\_2-sum\_per**: U.S. Stock Market Sentiment Index Percentage (Alternative Version)
* **raw\_sentiment-1\_2-sum\_sum**: Total Sentiment Index of the U.S. Stock Market (Alternative Version)
* **raw\_sentiment\_biz\_news-1\_1-mean\_per**: Average percentage of raw sentiment analysis results of business news regarding the US stock market
* **raw\_sentiment\_biz\_news-1\_1-mean\_sum**: The average sum of raw sentiment analysis results of business news regarding the U.S. stock market
* **raw\_sentiment\_biz\_news-1\_1-sum\_per**: The percentage sum of raw sentiment analysis results of business news regarding the US stock market
* **raw\_sentiment\_biz\_news-1\_1-sum\_sum**: The total of raw sentiment analysis results of business news regarding the U.S. stock market
* **raw\_sentiment\_biz\_news-1\_2-mean\_per**: The average percentage of the second type of raw sentiment analysis results for business news related to the U.S. stock market
* **raw\_sentiment\_biz\_news-1\_2-mean\_sum**: The average total of the second type of raw sentiment analysis results for business news related to the U.S. stock market
* **raw\_sentiment\_biz\_news-1\_2-sum\_per**: The second type percentage total of raw sentiment analysis results for business news about the U.S. stock market
* **raw\_sentiment\_biz\_news-1\_2-sum\_sum**: The total of the second type of raw sentiment analysis results for business news regarding the U.S. stock market
* **us\_tone\_m3**: U.S. Stock Market Tone Index (3-Month Moving Average)
* **us\_tone\_m3\_EWS**: U.S. Stock Market Tone Index Early Warning System (3-Month Moving Average, Monthly)
* **us\_tone\_m3\_EWS\_compustat**: U.S. Stock Market Tone Index Early Warning System (3-Month Moving Average, Compustat-Based, Monthly)
* **us\_tone\_m3\_exp**: U.S. Stock Market Tone Index Smoothing (3-Month Moving Average)
* **us\_tone\_m3\_exp\_EWS**: U.S. Stock Market Tone Index Smoothing Early Warning System (3-Month Moving Average, Monthly)
* **us\_tone\_m3\_exp\_EWS\_compustat**: U.S. Stock Market Tone Index Smoothing Early Warning System (3-Month Moving Average, Compustat-Based, Monthly)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://quantit.gitbook.io/content-model-auto/us-stock/edge/ews.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
