zerodha-trade

zerodha-trade

0

Zerodha Trading Agent is a robust and fast automated stock trading solution that integrates Bun.js with Zerodha Kite Connect API. It supports automated trading operations and promises features like intelligent market predictions and secure authentication strategies.

🚀 Zerodha Trading Agent (MCP x Bun.js)

This project is an intelligent Stock Trading Agent utilizing Bun.js and the Zerodha Kite Connect API with an integration into the Claude MCP Server. It functions to facilitate automatic trading, including features such as secure authentication, auto-refreshing access tokens, and future capabilities for stock trend prediction.

📋 Features

  • Automatic Buy/Sell orders via MCP Agent
  • Secure authentication with Kite Connect
  • Periodic auto-refresh of access tokens
  • Coming soon: Smart watchlist-based trading and stock prediction
  • Fast runtime with Bun.js
  • Full compatibility with Claude Toolchain/MCP Agents

⚙️ Setup Instructions

  1. Install dependencies using Bun.js
  2. Configure API credentials in tokenStore.json
  3. Run the agent server using Bun.js
  4. Use HTTPS locally with ngrok for Kite Connect
  5. Create a Kite Connect App to get API credentials

🛠️ Future Enhancements (Roadmap)

  • Smart GTT Trigger system
  • Stock Future Prediction Agent
  • Auto SIP bot for ETFs
  • Alerts via Telegram/Slack
  • Stop Loss Automation