Navigation

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

    Nifty Future market price

    Python SDK
    2
    4
    8
    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.
    • A
      abhay15.akshukla last edited by abhay15.akshukla

      I am able to connect to web socket and authentication succeed. I subscribe in LTP mode (mode=1) for nifty future (Nov 2025 contract) and receiving tick data. Nifty Nov future contract token is 38312 based on https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json.
      The LTP value in tick data is completely off. How to get right market price from tick data. Snippet of console output:
      [DEBUG] Data keys: ['subscription_mode', 'exchange_type', 'token', 'sequence_number', 'exchange_timestamp', 'last_traded_price', 'subscription_mode_val']
      [DEBUG] Data sample: {'subscription_mode': 1, 'exchange_type': 2, 'token': '38312', 'sequence_number': 18765872, 'exchange_timestamp': 1762234836588, 'last_traded_price': 7051240, 'subscription_mode_val': 'LTP'}

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

        https://www.nseindia.com/index-tracker/NIFTY NEXT 50

        @abhay15-akshukla Verified from our end we are receiving market data from web socket for NIFTYNXT5025NOV25FUT.
        From above link pls cross-verify market data.

        A 1 Reply Last reply Reply Quote 0
        • A
          abhay15.akshukla @admin last edited by

          @admin thanks. I was looking fo Nifty futures contract but used wrong token for tick data call. Its sorted now.

          A 1 Reply Last reply Reply Quote 0
          • A
            admin @abhay15.akshukla last edited by admin

            Thank you @abhay15-akshukla

            Happy Trading

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