← 返回
开发者工具 Key 中文

Groww

Trade stocks and manage portfolio on Groww (Indian broker). Use when user asks about Indian stocks, NSE/BSE prices, portfolio holdings, placing buy/sell orders, checking order status, or any Groww-related trading queries. Supports live quotes, LTP, OHLC, historical candles, and order management.
在Groww(印度券商)上进行股票交易和投资组合管理。当用户询问印度股票、NSE/BSE行情、投资组合、买卖下单、订单状态或任何与Groww交易相关的问题时使用。支持实时报价、最新价、OHLC、历史K线及订单管理。
pushp1997
开发者工具 clawhub v1.0.0 1 版本 99767.8 Key: 需要
★ 0
Stars
📥 1,289
下载
💾 39
安装
1
版本
#latest

概述

Groww Trading

Trade Indian stocks via Groww. Supports portfolio management, market data, and order execution.

Setup

  1. Get API key from Groww app: Stocks → Settings → API Trading → Generate API key
  2. Add to OpenClaw config:

```bash

openclaw configure

# Add env: GROWW_API_KEY=your_key_here

```

MCP Server Usage

The groww-mcp server is configured. Call tools via mcporter:

# Portfolio
mcporter call groww-mcp.portfolio

# Market data
mcporter call groww-mcp.market-data action=live-quote symbol=TATAMOTORS
mcporter call groww-mcp.market-data action=ltp symbols=TATAMOTORS,RELIANCE
mcporter call groww-mcp.market-data action=ohlc symbol=TCS

# Orders
mcporter call groww-mcp.place_order symbol=TATAMOTORS quantity=10 side=BUY type=MARKET
mcporter call groww-mcp.order_status orderId=ABC123
mcporter call groww-mcp.cancel_order orderId=ABC123

Direct API (Alternative)

If MCP has issues, use the Groww API directly:

Base URL

https://api.groww.in/v1/

Headers

Authorization: Bearer $GROWW_API_KEY
Accept: application/json
Content-Type: application/json

Endpoints

Portfolio/Holdings:

curl -H "Authorization: Bearer $GROWW_API_KEY" -H "Accept: application/json" \
  "https://api.groww.in/v1/holdings/user"

Live Quote:

curl -H "Authorization: Bearer $GROWW_API_KEY" -H "Accept: application/json" \
  "https://api.groww.in/v1/live-data/quote?exchange=NSE&segment=CASH&trading_symbol=TATAMOTORS"

LTP (Last Traded Price):

curl -H "Authorization: Bearer $GROWW_API_KEY" -H "Accept: application/json" \
  "https://api.groww.in/v1/live-data/ltp?segment=CASH&exchange_symbols=NSE:TATAMOTORS,NSE:RELIANCE"

OHLC:

curl -H "Authorization: Bearer $GROWW_API_KEY" -H "Accept: application/json" \
  "https://api.groww.in/v1/live-data/ohlc?segment=CASH&exchange_symbols=NSE:TATAMOTORS"

Historical Candles:

curl -H "Authorization: Bearer $GROWW_API_KEY" -H "Accept: application/json" \
  "https://api.groww.in/v1/historical/candle/range?exchange=NSE&segment=CASH&trading_symbol=TATAMOTORS&interval=5m&start_time=2024-06-01T09:15:00&end_time=2024-06-01T15:30:00"

Place Order:

curl -X POST -H "Authorization: Bearer $GROWW_API_KEY" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -d '{"trading_symbol":"TATAMOTORS","quantity":10,"validity":"DAY","exchange":"NSE","segment":"CASH","product":"CNC","order_type":"MARKET","transaction_type":"BUY"}' \
  "https://api.groww.in/v1/order/create"

Order Status:

curl -H "Authorization: Bearer $GROWW_API_KEY" -H "Accept: application/json" \
  "https://api.groww.in/v1/order/detail/{groww_order_id}?segment=CASH"

Cancel Order:

curl -X POST -H "Authorization: Bearer $GROWW_API_KEY" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -d '{"segment":"CASH","groww_order_id":"ABC123"}' \
  "https://api.groww.in/v1/order/cancel"

Stock Symbols

Use NSE trading symbols:

  • TATAMOTORS, RELIANCE, TCS, INFY, HDFCBANK
  • WIPRO, ICICIBANK, SBIN, BHARTIARTL, ITC

Market Hours

  • Pre-open: 9:00 - 9:15 AM IST
  • Trading: 9:15 AM - 3:30 PM IST
  • Monday to Friday (except holidays)

Example Queries

  • "Show my Groww portfolio"
  • "What's TATAMOTORS price?"
  • "Buy 10 RELIANCE shares"
  • "Sell 5 TCS at limit 4200"
  • "Cancel order ABC123"
  • "Get historical data for INFY"

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 02:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,145
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,794
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,162