MO

marketcalls/openalgo-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

16 stars 26 forks 品質 58 トレンド 21Apache-2.0

ドキュメント

概要

OpenAlgo、機械会話プロトコル(MCP)と大型ランゲージモデルを活用したAIを活用した取引支援プラットフォームで、インテリジェントな取引を実現します。 OpenAlgo MCP は、強力な OpenAlgo 取引プラットフォームと、高度な AI 機能を統合します。1. OpenAlgo API 機能を公開する MCP サーバーは、AI インタラクションのためのツールとして機能します。2. 取引のための会話インターフェイスを提供するインテリジェントなクライアントアプリケーション OpenAlgo の取引能力と AI の間のこの橋は、複雑な取引操作に自然な言語インターフェイスを可能にし、すべての技術的な背景のユーザーによりアクセス可能なアルゴリズム取引を可能にします.

概要(AI 翻訳)

OpenAlgo、機械会話プロトコル(MCP)と大型ランゲージモデルを活用したAIを活用した取引支援プラットフォームで、インテリジェントな取引を実現します。

概要

OpenAlgo MCP は、強力な OpenAlgo 取引プラットフォームと高度な AI 機能を統合します。 1。 AIインタラクションのためのツールとしてOpenAlgo API機能を公開するMCPサーバー 2. 取引のための会話インターフェイスを提供する理性的なクライアント アプリケーション

OpenAlgo の取引能力と AI の間のこの橋は、複雑な取引操作に自然な言語インターフェイスを可能にし、すべての技術的な背景のユーザーによりアクセス可能なアルゴリズム取引を可能にします。

主な特長

###包括的な取引能力

  • 注文管理: 様々な注文タイプ(市場、制限、ストップロス)のサポートで注文を配置、変更、およびキャンセル
  • 進められた順序のタイプ:位置のサイジングのバスケットの発注、割れた順序およびスマートな発注
  • Options Trading: ATM/ITM/OTM のオフセット サポートが付いている単一レッグおよび複数のレッグの選択の発注 -Market Data Access:リアルタイム見積、マルチクォート、マーケットデプス、オプションチェーン、履歴データ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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:

  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.

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

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →