Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Volume shown by websocket smartAPI is not same as the sum of total buy quantity and total sell quantity

    Python SDK
    0
    2
    53
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vivekruhela last edited by

      Hi,

      I am using SmartAPIwebsocket to fetch the real-time price and volume-related information of stock. I have observed that I am getting the information about total but quantity (with key 'tbq', total sell quantity (with key 'tsq') and volume information (with key 'v'). I think total volume buy + total volume sell must be equal to the total volume traded at that moment (i.e. 'tbq' + 'tsq' = 'v') but I don't see that in the response. the total volume information (with key 'v') is always greater than 'tbq' + 'tsq'. Is it correct?

      Let me know if I am making any wrong assumptions. Thanks.

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @vivekruhela last edited by admin

        @vivekruhela Please use Websocket 2.0 - https://smartapi.angelbroking.com/topic/1861/user-feedback-websocket-2-0-beta-rollout-python-language?_=1653996853593

        1 Reply Last reply Reply Quote 0
        • First post
          Last post