Navigation

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

    Error while modifying order - 'NoneType' object is not subscriptable

    Python SDK
    0
    10
    23
    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.
    • I
      itsme.jas90 last edited by

      Image.jpeg
      I am trying to place modify orders by using these parameters but its giving error ('NoneType' object is not subscriptable). Does anyone know how to resolve this issue?

      D 1 Reply Last reply Reply Quote 0
      • D
        Developer @itsme.jas90 last edited by

        @itsme-jas90 maybe symbol is incorrect

        I 1 Reply Last reply Reply Quote 0
        • I
          itsme.jas90 @Developer last edited by

          @Developer I have picked the trading symbol from orderbook and tried that also as you can see in this screenshot. still getting same error.
          Image1.jpeg

          D 1 Reply Last reply Reply Quote 0
          • D
            Developer @itsme.jas90 last edited by

            @itsme-jas90 can you get your profile info from getprofile?

            I 1 Reply Last reply Reply Quote 0
            • I
              itsme.jas90 @Developer last edited by

              @Developer Yes

              Image2.jpeg

              D 2 Replies Last reply Reply Quote 0
              • D
                Developer @itsme.jas90 last edited by

                @itsme-jas90 url = 'https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json'
                use this link to get your token

                1 Reply Last reply Reply Quote 0
                • D
                  Developer @itsme.jas90 last edited by

                  @itsme-jas90 use this video as a reference

                  Youtube Video

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    itsme.jas90 @Developer last edited by

                    @Developer Found nothing helpful in this video related to modify order issue. this video is teaching how to place order, I am done till that part.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Developer @itsme.jas90 last edited by

                      @itsme-jas90 modify order has different function get.modifyOrder(params)

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Developer @Developer last edited by

                        @Developer obj.modifyOrder(params)*

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