Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Deb
    3. Best
    D
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by Deb

    • Why two type of SF value I am getting ?

      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.

      posted in Python SDK
      D
      Deb