Bull Vision Agent logo

Bull Vision Agent

by Cognitive-Stack

Bull Vision Agent is a FastAPI application that integrates with Telegram and OpenAI Agents SDK for AI-powered stock trading assistance. It utilizes MCPHub for multiple MCP server management.

View on GitHub

Last updated: N/A

What is Bull Vision Agent?

Bull Vision Agent is an AI-powered stock trading assistant accessible through a Telegram bot. It leverages the OpenAI Agents SDK and MCPHub to provide real-time stock analysis, market news, and trading strategy insights.

How to use Bull Vision Agent?

To use the Bull Vision Agent, first clone the repository and install the dependencies using poetry install. Configure the .env file with your Telegram bot token, OpenAI API key, MongoDB connection string, and other required values. Start the application using make run. Set up the Telegram webhook to receive updates. Interact with the bot through Telegram using commands like /start and /help, and example queries to analyze stocks, get market news, and explore trading strategies.

Key features of Bull Vision Agent

  • Telegram bot integration with webhook support

  • AI-powered stock analysis using OpenAI Agents SDK

  • Multiple MCP server integration via MCPHub

  • Real-time stock data analysis

  • Market news integration

  • Conversation history tracking

  • Trading context management

  • MongoDB integration for data persistence

Use cases of Bull Vision Agent

  • Stock analysis (e.g., "Analyze AAPL")

  • Market news (e.g., "What's the latest news about Tesla?")

  • Trading strategies (e.g., "What's your view on the current market?")

  • Volume analysis (e.g., "Check volume patterns for MSFT")

  • Personalized trading assistance

FAQ from Bull Vision Agent

How do I set up the Telegram bot?

Obtain a bot token from @BotFather on Telegram and configure it in the .env file.

What is MCPHub?

MCPHub is used for managing multiple MCP (Market Connectivity Provider) servers, enabling the bot to access various data sources.

How do I set up the webhook?

Ensure your server is publicly accessible and the webhook URL is in the format https://your-domain.com/api/telegram/webhook. The webhook will be automatically registered when the application starts.

What OpenAI models are supported?

The application is designed to work with Azure OpenAI models. You need to configure your Azure OpenAI API key, endpoint, deployment name, and API version in the .env file.

How is data persisted?

The application uses MongoDB for data persistence. Configure the MongoDB connection string and database name in the .env file.