# US EWS Index

## Example code

```python
from finter.data import ContentFactory
cf = ContentFactory("us_stock", 20240101, 20240201)

# weekly
df = cf.get_df("SP500_EWS_origin_biz_news", freq="1W")

# monthly
df = cf.get_df("SP500_EWS_origin_biz_news", freq="1M")
```

## Metadata

| Valid From | Delivery Schedule | Time Zone  | Data Frequency |
| ---------- | ----------------- | ---------- | -------------- |
| 2008-02-01 | UTC 0 9 \* \* \*  | US/Eastern | 1W, 1M         |

## Item List

* weekly
  * `SP500_EWS_origin_biz_news`: Previous version of the weekly S\&P 500 EWS based on global sentiment time series index (post\_sarima\_sent\_biz\_news-1\_1-sum\_per)
  * `SP500_EWS_biz_news`: Latest version of the weekly S\&P 500 EWS based on global sentiment time series index (post\_sarima\_sent\_biz\_news-1\_2-sum\_sum)
* monthly
  * `SP500_EWS_origin_biz_news`: Previous version of the monthly S\&P 500 EWS based on global sentiment time series index (post\_sarima\_sent\_biz\_news-1\_1-sum\_per)
  * `SP500_EWS_biz_news`: Latest version of the monthly S\&P 500 EWS based on global sentiment time series index (post\_sarima\_sent\_biz\_news-1\_2-sum\_sum)
  * `us_tone_m3_EWS_compustat`: Monthly S\&P 500 EWS based on key term sentiment US sentiment index
  * `us_tone_m3_exp_EWS_compustat`: Monthly S\&P 500 EWS based on key term sentiment export US sentiment index


---

# Agent Instructions: 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/quanda/us-stock/unstructured/ews-early-warning-signal/us-ews-index.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.
