Navigation

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

    instrument list API extremely unreliable and not robust

    Bugs
    2
    2
    4
    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.
    • R
      Rithvik last edited by

      @admin instrument_master_url='https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json'
      isn't loading again, it generally takes 30sec to load now from past 5 min i am getting no response

      code used:
      resp = requests.get(url=instrument_master_url)

      after 10min i tried again, now it took 90sec to execute,
      the perfomance of this api is not reliable, it works but not consistently and reliably
      please look into to it![alt text](image url)
      [sometimes it works , sometimes it takes 30sec(best so far), sometimes it takes lot of min and sometimes it doesn't work at all blocking the execution of code and other dependent parts

      A 1 Reply Last reply Reply Quote 0
      • A
        algo_trading_50 @Rithvik last edited by algo_trading_50

        @rithvik Currently OpenAPIScripMaster.json is ~40MB. You can try syncing the instruments from other broker that has smaller file size as backup, in case there is no response from the API. Select the broker whose token are matching with the tokens mentioned the OpenAPIScripMaster.json file.

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