market_depth
Access live Level 2 order book data for NSE stocks, showing top 5 bid and ask prices with quantities. Requires Angel One API credentials.
Instructions
Level 2 order book depth — top 5 bid/ask prices and quantities.
This is exchange-licensed real-time data. Zerodha Kite Connect charges ₹500/month for this. Angel One SmartAPI provides it free to account holders.
Requires Angel One API credentials in .env (stays local, never on GitHub).
Provides (when configured):
Top 5 buy orders (bid price + quantity)
Top 5 sell orders (ask price + quantity)
Total buy and sell queue size
Args: symbol: NSE symbol (e.g., RELIANCE, TCS, HDFCBANK)
Examples: market_depth("RELIANCE") → Live order book for Reliance
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "market_depth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |