Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guilherme006/aiagent

This project automates the analysis of stock prices and market news using artificial intelligence agents such as OpenAI and CrewAI.
https://github.com/guilherme006/aiagent

crewai duckduckgo langchain openai-api python streamlit yfinance

Last synced: about 1 month ago
JSON representation

This project automates the analysis of stock prices and market news using artificial intelligence agents such as OpenAI and CrewAI.

Awesome Lists containing this project

README

        

## About the Project

This project automates the analysis of stock prices and market news using artificial intelligence agents. It combines tools like **Yahoo Finance**, **DuckDuckGo**, and language models from **OpenAI** and **CrewAI** to create detailed reports on stock price trends and market sentiment.

![aiagent-image]

### Features

- **Yahoo Finance Tool:** Retrieves historical stock price data from up to a year ago.
- **Stock Price Analyst Agent:** Analyzes stock price trends and predicts whether the price is rising, falling or sideways.
- **News Analyst Agent:** Conducts stock-related news research and assesses market sentiment, assigning a "Fear/Greed" score from 0 to 100.
- **Stock Analyst Writer Agent:** Generates a three-paragraph newsletter that summarizes price analysis and news, including an executive summary and future trend forecasts.

### Built with

![badge-python]
![badge-openai-api]
![badge-windows]
![badge-streamlit]

## Getting Started

To get a working local copy, follow these simple steps.

### Requirements

- Visual Studio Code
- Windows 10+ or ​​Linux/MacOS with python installed

### Installation

1. Clone the repository:

```sh
git clone https://github.com/Guilherme006/AIAgent.git
```

2. Install dependencies from the requirements.txt file
3. You will need an openai platform key
4. Run the API and enjoy your testing

[aiagent-image]: /images/aiagent.jpeg

[badge-openai-api]: https://img.shields.io/badge/OpenAI-412991?logo=openai&logoColor=fff&style=for-the-badge
[badge-windows]: https://img.shields.io/badge/Windows-0078D4?logo=windows&logoColor=fff&style=for-the-badge
[badge-python]: https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=fff&style=for-the-badge
[badge-streamlit]: https://img.shields.io/badge/Streamlit-FF4B4B?logo=streamlit&logoColor=fff&style=for-the-badge