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
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

    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!