Market Assistant
stackmodel/market-assistant
Assistente de dados financeiros com IA e integração AWS Bedrock
Ver no GitHubChatbot em Streamlit que integra AWS Bedrock com APIs financeiras para fornecer dados de mercado em tempo real. Utiliza Claude Sonnet e tool calling para buscar preços de ações, informações financeiras e demonstrações de resultado de empresas através de consultas em linguagem natural.
Instalação
npx convez-ai stackmodel/market-assistant1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Consultar preços de ações em tempo real via chatbot
- Recuperar informações financeiras e demonstrações de resultado de empresas
- Automatizar análise de dados de mercado através de conversas naturais
Veredito

Solução prática que combina Streamlit com AWS Bedrock e APIs financeiras reais (Financial Modeling Prep). Bem estruturada para quem quer construir assistentes financeiros com IA, mas requer credenciais AWS e configuração prévia de chaves de API.
README
A tradução para o português deste README ainda está na fila.
Market Assistant: Stock and Financial Data Chatbot
This is a market data assistant application built using Streamlit, AWS Bedrock Converse, FMPSDK, and other supporting libraries. The chatbot leverages Anthropic Claude Sonnet model and interacts with financial data APIs to provide real time stock prices, financials, and income statements for various companies.
Features
- Real-time Stock Price: Fetch the current stock price of a given symbol (e.g., AAPL for Apple).
- Company Financial Information: Get basic financial details for a specific company.
- Income Statement: Retrieve the latest income statement of a company.
Prerequisites
Before running the code, make sure to complete the following:
-
AWS CLI Setup : Install and configure the AWS Command Line Interface (CLI) with the appropriate credentials.
-
AWS Bedrock Access: You must have access to Amazon Bedrock and the appropriate credentials to use its models, including the Anthropic Claude Sonnet model.
-
Financial Modelling Prep Setup: You need to have a valid financialmodelingprep API key to access the real time financial data. You can get it from financialmodelingprep
Setup
-
Clone the Repository
git clone https://github.com/stackmodel/market-assistant.git cd market-assistant -
Rename .env.example to .env file in the root of your project to store your financialmodelingprep api key.
FINANCIAL_MODELING_PREP_API_KEY=your_api_key_here -
Make sure you have Python 3.12 or higher installed. Then, create a virtual environment and install the dependencies:
python3 -m venv venv -
Run the following to install the necessary dependencies:
source venv/bin/activate pip install -r requirements.txt -
To run the Streamlit app locally, simply execute:
streamlit run app.py
Once the app is running, enter http://localhost:8501 in your browser to load the streamlit app.
Enter a query such as:
- "What is the stock price of AAPL?"
- "Show me the financials of Microsoft."
- "Give me the income statement for Amazon."
The assistant will process the input and provide the appropriate response, fetching data from the APIs as needed.