MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

M
MCP Trading System

MCP server by bhosaleshivam

创建于 6/2/2025
更新于 4 days ago
Repository documentation and setup instructions

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

  1. Install the required dependencies:

    pip install -r requirements.txt
    
  2. Set up your environment variables (if required)

  3. 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 components
  • trading_floor.py: Trading environment and agent management
  • market.py: Market simulation and price updates
  • accounts.py: Account management and portfolio tracking
  • database.py: Data persistence and logging
  • traders.py: Trading agent implementations
  • util.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]

快速设置
此服务器的安装指南

安装包 (如果需要)

uvx mcp-trading-system

Cursor 配置 (mcp.json)

{ "mcpServers": { "bhosaleshivam-mcp-trading-system": { "command": "uvx", "args": [ "mcp-trading-system" ] } } }