> For the complete documentation index, see [llms.txt](https://blackswanwtf.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blackswanwtf.gitbook.io/docs/smart-agents/macro-economic-indicators-agent.md).

# Macro Economic Indicators Agent

The Macro Economic Indicators agent provides comprehensive analysis of key indicators including the Fear & Greed Index, S\&P 500 performance, and currency exchange rates and then uses AI to generate insights about current market conditions and their potential impact.

## Key Features

**AI-Powered Market Insights**\
Utilizes GPT models to analyze aggregated macro data and generate comprehensive market condition summaries

**Automated Data Collection**\
Automatically fetches real-time macro economic data from the Market Data Collection Service

**Multi-Indicator Analysis**\
Integrates and analyzes diverse indicators including Fear & Greed Index, S\&P 500, and currency rates

**Historical Tracking**\
Stores analysis results for trend analysis and historical reference

## Analysis Outputs

**S\&P 500 Analysis**\
Current status, trend direction, and recent performance of the S\&P 500

**Fear & Greed Analysis**\
Current sentiment level and market psychology based on the Fear & Greed Index

**Currency Analysis**\
Exchange rate movements and implications for market stability

**Analysis Summary**\
A comprehensive overview of overall market conditions based on all macro indicators

**Fear & Greed Value**\
The numerical value of the Fear & Greed Index at the time of analysis


---

# 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, and the optional `goal` query parameter:

```
GET https://blackswanwtf.gitbook.io/docs/smart-agents/macro-economic-indicators-agent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
