Navigation

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

    Why two type of SF value I am getting ?

    Python SDK
    0
    1
    7
    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.
    • D
      Deb last edited by

      I am trying to fetch HDFC live data from NSE using SmartConnect web socket python api.
      When I am running ss.connect() I am getting ticks data.But in that tick data stream two type of SF(script feed) array is coming.
      Snap shot:
      Ticks: [{'ak': 'ok', 'msg': 'connected', 'task': 'cn'}]
      Ticks: [{'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}]
      Ticks: [{'e': 'nse_cm', 'ltp': '2504.65', 'ltq': '2', 'ltt': 'NA', 'name': 'sf', 'tk': '1330'}]
      Ticks: [{'ap': '2502.66', 'bp': '2504.60', 'bq': '150', 'bs': '233', 'c': '2507.40', 'cng': '-02.75', 'e': 'nse_cm', 'lo': '2495.45', 'ltp': '2504.65', 'ltq': '2', 'ltt': '09/11/2022 12:06:26', 'name': 'sf', 'nc': '-00.1097', 'sp': '2504.65', 'tbq': '158697', 'tk': '1330', 'to': '3753294260.52', 'tsq': '226759', 'v': '1499722'}]
      why is that coming ? can anyone explain ?
      Thanks in advance.

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