Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. abhay15.akshukla
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Groups 0

    Posts made by abhay15.akshukla

    • RE: Nifty Futures historical data

      @admin thanks. any way to get past contract data for Nifty futures on 1 min or 5 min or 15 mn timeframes?

      posted in Python SDK
      A
      abhay15.akshukla
    • RE: Nifty Future market price

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

      posted in Python SDK
      A
      abhay15.akshukla
    • Nifty Futures historical data

      The https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json does not provide token numbers for past or historical contracts of Nifty Futures. How can I retrieve Nifty futures historical data without knowing what token to use, which is mandatory field for https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData api and has this request format: {
      "exchange": "NSE",
      "symboltoken": "99926000",
      "interval": "ONE_HOUR",
      "fromdate": "2023-09-06 11:15",
      "todate": "2023-09-06 12:00"
      }

      posted in Python SDK
      A
      abhay15.akshukla
    • Nifty Future market price

      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'}

      posted in Python SDK
      A
      abhay15.akshukla