
MCP交易代理
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
Selling Stock
Sample Tests
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
- Clone the repository:
git clone https://github.com/UdayRajVadeghar/MCP-Trading-Agent.git
cd MCP-Trading-Agent
- Install dependencies:
npm install
# or
yarn install
Usage
- Configure your trading parameters in
tsconfig.json
- 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
相关推荐
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_RQ1YdTmN
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!

user_Taadtf7X
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!