OpenClaw Integration for Indian Stock Markets: Multi-Agent Analysis and Trading Terminal

What It Does
An experimental trading and analysis system for Indian stock markets has been built as an OpenClaw integration. The core is an open source trading terminal for Indian markets wired up as an OpenClaw skill server. Any OpenClaw agent can now pull Indian stock market data and run full analysis over HTTP without installing anything locally.
Analysis Pipeline
Type /analyze RELIANCE in Telegram. Three to four minutes later you get a full report on your phone - not just price and chart, but actual structured analysis with a trade plan.
Seven specialist agents work in parallel:
- Technical (RSI, MACD, EMAs, Bollinger, ATR, pivot levels)
- Fundamental (PE, ROE, ROCE pulled from Screener.in)
- Options (Greeks, OI buildup, IV skew)
- News and Macro (reads current headlines and connects them to the stock)
- Sentiment (FII/DII flows, market breadth)
- Sector Rotation
- Risk Manager
Each agent returns a verdict and confidence score. Those scores go into a weighted composite that flags disagreements explicitly - if Technical says bullish but Options positioning says something different, that conflict shows up rather than being averaged into a vague call.
Then there's a five-round debate: Bull argues, Bear argues, Bull rebuts, Bear rebuts, a Facilitator summarizes. After that, a Fund Manager agent reads the whole transcript and writes a final verdict with a trade plan - entry price, stop-loss, targets, and position sizing across three risk profiles (aggressive, neutral, conservative) calibrated to your capital.
This uses 8 LLM calls in standard mode, 11 in deep mode.
OpenClaw Skill Interface
The same pipeline is available as an OpenClaw skill:
curl -X POST http://localhost:8765/skills/analyze -H "Content-Type: application/json" -d '{"symbol": "RELIANCE"}'Takes 30 to 90 seconds. Returns the scorecard, debate summary, verdict, and all three trade plans.
OpenClaw Integration Benefits
The skill server publishes a discovery manifest at /.well-known/openclaw.json. Any OpenClaw agent fetches that once, reads the input schemas, and knows what it can call - nothing hardcoded.
This enables agent chaining: one agent monitors a watchlist and calls quote every few minutes; when something moves, it calls analyze; if the verdict crosses a threshold, it calls another agent to check macro conditions, then pushes a Telegram message with the full picture.
Right now 17 skills are live: quotes, options chain, FII/DII flows, earnings calendar, macro snapshot, bulk and block deals, morning brief, backtesting, pairs analysis, session-aware chat, and price and technical alerts with webhook callbacks.
Current Limitations and Roadmap
Broker support is Fyers only right now (they have a free developer API with real time WebSocket data). Zerodha, Angel One, Upstox, and Groww are in progress. The broker interface is a clean abstract class - adding a new one is mostly mapping their SDK to data models.
Coming features include:
- Trading directly from Telegram and from OpenClaw agents via
/trade RELIANCEcommand - Custom strategy creation in plain English - describe what you want, system interviews you about parameters, writes Python, backtests on NSE history, and saves it
- Wealth management layer that watches your whole portfolio rather than individual stocks
- Voice interface for trade execution
Installation
pip install india-trade-cli
uvicorn web.api:app --host 127.0.0.1 --port 8765Free market data via the terminal.
📖 Read the full source: r/openclaw
👀 See Also

mcp-india-stack: Open-source MCP server for Indian financial APIs
mcp-india-stack is an open-source MCP server that provides Claude with native access to seven Indian financial and government API tools, including GSTIN validation, IFSC lookup, and PAN validation. It requires zero authentication, is offline-first, and is available via pip install.

graphify-ts: Local MCP server cuts Claude Code PR review tokens from 63K to 8.7K
graphify-ts builds a local knowledge graph of your codebase using tree-sitter AST + Louvain communities + BM25 + optional ONNX rerank, exposing it via MCP stdio. In production tests, it reduced input tokens by 2.6x and latency by 2.8x for code queries, and cut PR review prompts from 63K to 8.7K tokens.

Open-source Claude Code reimplementation patched for local model compatibility
A developer patched the open-source Claude Code reimplementation to work with Ollama and local models by removing hardcoded Anthropic client dependencies. The CLI now auto-detects providers from model names and environment variables.

LLM Cost Profiler: Open-source tool tracks API spending to make case for local models
LLM Cost Profiler is a Python tool that tracks every API call to OpenAI/Anthropic, showing exactly what you're spending and where. It exposes tasks that are overpriced relative to their complexity, providing concrete dollar amounts to justify moving to local models.