
mcp trading system
一个多智能体交易模拟系统,支持实时可视化交易活动、投资组合表现和市场互动。
Repository Info
About This Server
一个多智能体交易模拟系统,支持实时可视化交易活动、投资组合表现和市场互动。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
title: MCP app_file: app.py sdk: gradio sdk_version: 5.31.0
MCP Trading System
A sophisticated multi-agent trading simulation system that allows multiple AI traders to operate in a simulated market environment. The system provides real-time visualization of trading activities, portfolio performance, and market interactions.
Features
- Multiple AI traders operating simultaneously
- Real-time portfolio value tracking and visualization
- Detailed transaction history and holdings management
- Live trading logs with color-coded events
- Interactive web interface built with Gradio
- Market simulation and price updates
- Account management and transaction tracking
System Components
- Trading Interface: Web-based UI showing trader performance, holdings, and transactions
- Market Simulation: Real-time market data and price updates
- Account Management: Portfolio tracking and transaction history
- Trading Agents: AI-powered trading strategies
- Logging System: Comprehensive activity logging and monitoring
Dependencies
- gradio
- pandas
- plotly
- python-dotenv
- openai
- asyncio
- requests
- openai-agents
- polygon-api-client
Getting Started
-
Install the required dependencies:
pip install -r requirements.txt -
Set up your environment variables (if required)
-
Run the application:
python app.py
The web interface will be launched in your default browser, showing the trading dashboard.
Project Structure
app.py: Main application and UI componentstrading_floor.py: Trading environment and agent managementmarket.py: Market simulation and price updatesaccounts.py: Account management and portfolio trackingdatabase.py: Data persistence and loggingtraders.py: Trading agent implementationsutil.py: Utility functions and helpers
Monitoring
The system provides real-time monitoring of:
- Portfolio values
- Trading activities
- Market movements
- Agent decisions
- Transaction history
License
[Add your license information here]
Contributing
[Add contribution guidelines here]
Quick Start
Clone the repository
git clone https://github.com/bhosaleshivam/mcp-trading-systemInstall dependencies
cd mcp-trading-system
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.