Broker OI Webhook Integration

Замовник: AI | Опубліковано: 07.11.2025

I need a small, working bridge that pulls Open Interest from the Dhan terminal and instantly sends it to TradingView through a webhook. The core goal is to see the data appear inside my TradingView alerts or Pine Script without manual refreshes. Scope • Broker: Dhan (primary). If you can tap the Zerodha feed as well, great—just be sure the solution still focuses on real-time data. • Data points required: – Current Open Interest – Change in Open Interest – Volume with Open Interest • Frequency: real-time; latency must be low enough to react to fast-moving markets. Deliverables 1. A lightweight script, plug-in, or serverless function that connects to the broker API and fires JSON to my TradingView webhook URL. 2. Sample payload structure so I can map fields in Pine Script. 3. Quick setup guide (auth keys, environment variables, and how to run/host the code). Keep dependencies minimal—Python or Node.js is fine, provided the code is readable and easy to redeploy. Once I can reliably receive those three data points in TradingView, the job is complete.