Navigation

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

    Best posts made by ThetaDecay

    • Unable to Login via SmartAPI

      Getting errors while using Python SDK:

      03-Jan-23 12:04:14 - Attempt#0 to initialize Angel SDK
      03-Jan-23 12:04:14 - Exception occured while Initializing Angel SDK
      Traceback (most recent call last):
        File "/home/a/Desktop/angel_st/src/angel_main.py", line 69, in init_angel_SDK
          refreshToken = data['data']['refreshToken']
      TypeError: 'NoneType' object is not subscriptable
      03-Jan-23 12:04:14 - Exception: 'NoneType' object is not subscriptable
      Traceback (most recent call last):
        File "/home/a/Desktop/angel_st/src/angel_main.py", line 69, in init_angel_SDK
          refreshToken = data['data']['refreshToken']
      TypeError: 'NoneType' object is not subscriptable
      

      A few months ago, the same issue happened when API was down for one whole day
      This is not at all acceptable
      I am switching to a different broker for API like Zerodha or ICICI direct Breeze API

      posted in General Discussion
      T
      ThetaDecay
    • Feature request

      Hi @admin

      It would be great if we can check the margin required for that trade before placing the order. Feature req for smartapi

      posted in General Discussion
      T
      ThetaDecay
    • BANKNIFTY contracts missing in https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

      Some Banknifty contracts are not there in the instruments JSON file : https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

      for e.g: "BANKNIFTY28DEC2347300CE" is there
      "BANKNIFTY28DEC2347700CE" is not there

      Also, there should be an API to fetch. This is not so good way to download JSON file and then get contracts from a JSON file

      posted in General Discussion
      T
      ThetaDecay