Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCP Trading Agent

This project implements a custom Trading Agent for Zerodha using the new MCP (Model Context Protocol) TypeScript SDK built from scratch.

Practical

Buying Stock

buyOrder

Selling Stock

sellOrder

Sample Tests

claude LLMresponse

Overview

This trading agent is designed to execute trading on Zerodha's platform using the Model Context Protocol. It leverages the full capabilities of the MCP TypeScript SDK to interact with Zerodha's trading interface efficiently and safely.

Features

  • Built using the official MCP (Model Context Protocol) TypeScript SDK
  • Integration with Zerodha's trading platform
  • Type-safe implementation
  • Real-time market data processing from Zerodha
  • Automated trading execution on Zerodha

Tech Stack

  • TypeScript
  • Zod
  • MCP TypeScript SDK
  • Node.js
  • Zerodha API Integration

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • MCP TypeScript SDK
  • Zerodha Trading Account
  • Zerodha API credentials

Installation

  1. Clone the repository:
git clone https://github.com/UdayRajVadeghar/MCP-Trading-Agent.git
cd MCP-Trading-Agent
  1. Install dependencies:
npm install
# or
yarn install

Usage

  1. Configure your trading parameters in tsconfig.json
  2. Start the trading agent:
npm run dev
# or
yarn start

Configuration

The trading agent can be configured through:

  • Environment variables for Zerodha API credentials and sensitive data
  • Command-line arguments for runtime options

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

Trading involves substantial risk and is not suitable for every investor. Make sure you understand the risks involved and never trade with money you cannot afford to lose. This trading agent interfaces with your Zerodha account and should be used with appropriate caution.


Built with ❤️ by UdayRaj Vadeghar

相关推荐

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • rulego
  • ⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.

  • Byaidu
  • PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO

  • sigoden
  • Créez facilement des outils et des agents LLM à l'aide de fonctions Plain Bash / JavaScript / Python.

  • hkr04
  • SDK C ++ MCP (Protocole de contexte modèle léger)

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信 (企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Dify 、 Claude 、 GEMINI 、 XAI 、 PPIO 、 OLLAMA 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 ChatGlm 、 Sillytraven 、 MCP 等 LLM 的机器人 / Agent | Plateforme de bots de messagerie instantanée basés sur LLM, prend en charge Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Rag de conversation sur site avec des conteneurs configurables

  • modelscope
  • Commencez à construire des applications multi-agents LLM, plus facilement.

    Reviews

    3 (2)
    Avatar
    user_RQ1YdTmN
    2025-04-24

    The MCP-Trading-Agent by UdayRajVadeghar is an impressive tool for anyone involved in trading. Its intuitive interface and robust functionalities make it a must-have for both beginners and seasoned traders. The seamless integration and accurate analytics truly set it apart from other platforms. Highly recommend giving MCP-Trading-Agent a try!

    Avatar
    user_Taadtf7X
    2025-04-24

    I've been using MCP-Trading-Agent for a few months now, and it has significantly improved my trading efficiency. Developed by UdayRajVadeghar, the agent seamlessly integrates with my trading strategy, offering insightful analytics and real-time updates. The user-friendly interface and reliable performance make it a valuable tool for any serious trader. Highly recommended!