
marketcalls/openalgo-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Documentation
개요
An AI-powered trading assistant platform for OpenAlgo, leveraging Machine Conversation Protocol (MCP) and Large Language Models to provide intelligent trading capabilities. OpenAlgo MCP integrates the powerful OpenAlgo trading platform with advanced AI capabilities through: 1. An MCP server that exposes OpenAlgo API functions as tools for AI interaction 2. An intelligent client application providing a conversational interface for trading This bridge between OpenAlgo's trading capabilities and AI allows for a natural language interface to complex trading operations, making algorithmic trading more accessible to users of all technical backgrounds.
README
원문 README의 일부입니다. 원문 보기.
OpenAlgo MCP - AI Trading Assistant
An AI-powered trading assistant platform for OpenAlgo, leveraging Machine Conversation Protocol (MCP) and Large Language Models to provide intelligent trading capabilities.
Overview
OpenAlgo MCP integrates the powerful OpenAlgo trading platform with advanced AI capabilities through:
- An MCP server that exposes OpenAlgo API functions as tools for AI interaction
- An intelligent client application providing a conversational interface for trading
This bridge between OpenAlgo’s trading capabilities and AI allows for a natural language interface to complex trading operations, making algorithmic trading more accessible to users of all technical backgrounds.
Key Features
Comprehensive Trading Capabilities
- Order Management: Place, modify, and cancel orders with support for various order types (market, limit, stop-loss)
- Advanced Order Types: Basket orders, split orders, and smart orders with position sizing
- Options Trading: Single-leg and multi-leg options orders with ATM/ITM/OTM offset support
- Market Data Access: Real-time quotes, multi-quotes, market depth, option chains, and historical data
- Portfolio Management: Track holdings, positions, order books, and trade history
- Account Information: Monitor funds, margins, margin calculator, and trading limits
- Utilities: Trading holidays, market timings, Telegram alerts, analyzer mode
Intelligent Symbol Format Handling
- Smart parsing and formatting of instrument symbols across exchanges
- Support for equity, futures, and options symbology
- Built-in knowledge of common indices and exchange-specific formats
AI-Powered Trading Assistant
- Natural language interface for all trading operations
- Contextual understanding of trading terminology and concepts
- Guided assistance for complex trading operations
- Real-time data presentation in human-readable formats
Project Structure
openalgo-mcp/
├── .env # Common environment configuration
├── .env.example # Example configuration template
├── requirements.txt # Common dependencies for both client and server
├── LICENSE # MIT License
├── server/ # MCP Server implementation
│ ├── server.py # OpenAlgo MCP server code
└── client/ # Client implementation
├── trading_agent.py # AI assistant client code
Installation Guide
Prerequisites
- Python 3.9+ installed
- OpenAlgo platform installed and configured
- OpenAI API key (for the client component)
Step 1: Clone the Repository
git clone https://github.com/marketcalls/openalgo-mcp.git
cd openalgo-mcp/mcpserver
Step 2: Set Up Environment
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
Step 3: Configure Environment Variables
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →