<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to get per tick volume from websocketv2 ?]]></title><description><![CDATA[<p dir="auto">Hello SmartAPI Team,</p>
<p dir="auto">I am using the SmartWebSocketV2 to build 1-minute OHLCV candles. I am facing an issue regarding the accuracy of per-tick volume across different exchanges.</p>
<p dir="auto">The Issue:<br />
To calculate the volume for a specific candle, I am tracking the volume_traded_today field. My logic subtracts the cumulative volume of the previous tick from the current tick to derive the "Per-Tick Volume."</p>
<p dir="auto">MCX: This logic works perfectly. The incremental volume is accurate.</p>
<p dir="auto">NSE/BSE: The calculation becomes highly inaccurate. The delta between ticks often results in anomalies or does not align with the actual trade quantity executed in that timeframe.</p>
<p dir="auto">Questions:</p>
<p dir="auto">Is volume_traded_today the recommended field for deriving interval volume on high-frequency exchanges like NSE, or is there a known lag in cumulative volume updates?</p>
<p dir="auto">Should I be using last_traded_quantity (LTQ) to sum up the volume for my candle instead?</p>
<p dir="auto">Does the WebSocket V2 feed for NSE/BSE provide a direct "Tick Volume" field that I might be overlooking to avoid manual cumulative subtraction?</p>
<p dir="auto">Environment:</p>
<p dir="auto">Language: Python</p>
<p dir="auto">Library: SmartApi</p>
<p dir="auto">Feed Method: WebSocket V2 (LTP, Quote, or Snap quote mode)</p>
<p dir="auto">Any guidance on the most reliable way to capture accurate per-tick/per-candle volume for NSE/BSE would be greatly appreciated.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/topic/5557/how-to-get-per-tick-volume-from-websocketv2</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 21:02:22 GMT</lastBuildDate><atom:link href="https://smartapi.angelone.in/smartapi/forum/topic/5557.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 Apr 2026 12:57:16 GMT</pubDate><ttl>60</ttl></channel></rss>