Navigation

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

    Weekly option Contarct

    NodeJS SDK
    0
    2
    15
    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.
    • P
      Parvez937 last edited by

      Hi,
      Daily morning i will download all symbols from here
      https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

      Now i want to place order of this weeks expiry , how to get token...
      If i want to search the file with symbol no standard is followed
      see below example...

      Can you please let me know , how i can search the JSon to get weekly contracts,
      I will be selling ATM stardles .. so my program should automaticly identify based on some logic.
      Ex: Sensex
      {
      "token": "844325",
      "symbol": "SENSEX2521875200CE",
      "name": "SENSEX",
      "expiry": "18FEB2025",
      "strike": "7520000.000000",
      "lotsize": "20",
      "instrumenttype": "OPTIDX",
      "exch_seg": "BFO",
      "tick_size": "5.000000"
      }
      {
      "token": "838214",
      "symbol": "SENSEX25FEB75200CE",
      "name": "SENSEX",
      "expiry": "25FEB2025",
      "strike": "7520000.000000",
      "lotsize": "20",
      "instrumenttype": "OPTIDX",
      "exch_seg": "BFO",
      "tick_size": "5.000000"
      },

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

        @Parvez937

        Formats of the symbol names are different
        Monthly options are in the format SENSEX25MAR72400CE
        Weekly options are in the format SENSEX2521875300CE

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