Navigation

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

    GTT Orders not placing

    Python SDK
    3
    31
    195
    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
      Ravi Krishnan last edited by

      Whatever information and code given in github of smart api, i have followed. still getting error. is it possible to trigger GTT order in Angel Broking or that option is disabled ?

      R 1 Reply Last reply Reply Quote 0
      • R
        Ravi Krishnan @Ravi Krishnan last edited by

        Dear @admin i am getting this error - ReadTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)

        1 Reply Last reply Reply Quote 0
        • K
          ksingh7 last edited by

          @Ravi-Krishnan I can understand your frustration my friend. I am also trying to place GTT Orders via SmartAPI but does not work at all, i have been trying this since 1 month and have opened a BUG, you can read more about this here https://smartapi.angelbroking.com/topic/624/gtt-create-rule-not-working?_=1621073668505

          unfortunately no one from team @admin was able to provide solution on GTT orders. I think if this API is not ready yet, it should not be listed in the API documentation.

          R 1 Reply Last reply Reply Quote 0
          • R
            Ravi Krishnan @ksingh7 last edited by

            @ksingh7 Thanks for your kind reply Sir... Please provide, if you get any solution from @admin

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

              HI @Ravi-Krishnan @ksingh7 @Ravi-Krishnan We will update you on this tomorrow after coordinating with team.

              R 1 Reply Last reply Reply Quote 0
              • R
                Ravi Krishnan @admin last edited by

                @admin thanks for your response. we are waiting for solution to GTT order technical problem. I hope that @admin will provide solution to the problem. @ksingh7

                K 1 Reply Last reply Reply Quote 0
                • K
                  ksingh7 @Ravi Krishnan last edited by

                  @Ravi-Krishnan @admin i am keeping my fingers crossed. Else i need to build my own wrapper API and manage GTT at my side.

                  Hope @admin can provide a working solution

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Ravi Krishnan @ksingh7 last edited by

                    @admin this is gentle remainder regarding GTT orders technical problem. @ksingh7

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

                      Hi @Ravi-Krishnan we are already in process of fixing this ravi-krishnan.

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

                        hi @ksingh7 hi @Ravi-Krishnan can you check now it has been fixed by our team.

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          ksingh7 @admin last edited by

                          @admin

                          This still does not work, i am still getting "Invalid Trading Symbol" , can you please check the attached screenshot and suggest what is wrong with this request ?? I am using the same example from the GTT Create API Documentation.

                          {
                              "status": false,
                              "message": "Invalid Trading Symbol",
                              "errorcode": "AB9012",
                              "data": null
                          }
                          

                          65a86337-54ad-4977-a8b1-ca3ca62141e7-image.png

                          @Ravi-Krishnan For your information

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

                            Hi @ksingh7 have yo updated the sdk.

                            R K 2 Replies Last reply Reply Quote 0
                            • R
                              Ravi Krishnan @admin last edited by

                              @admin Dear @admin we are waiting for your updates. @ksingh7

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

                                HI @Ravi-Krishnan hi @ksingh7 we will connect you tomorrow on a meet and resolve this tomorrow asap.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  Ravi Krishnan @admin last edited by

                                  @admin we are waiting for meet. @ksingh7

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

                                    Hi @Ravi-Krishnan we will soon update you this we are already trying to come up with the solution on this internally.

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      ksingh7 @admin last edited by

                                      @admin I am directly using CreateRule API (no SDK involved), but this think does not work at all. I am loosing confidence on AngleBroking SmartAPI , i don't i could build a product with these APIs, sorry to say but this is bitter truth.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        ksingh7 @admin last edited by

                                        @Ravi-Krishnan Did this worked for you ? I tried but does not work for me, i think the quality of Angle Broking SmartAPI is not good, which is the reason its Free.

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

                                          HI @ksingh7 @Ravi-Krishnan kindly check the below request and response.We have fixed the documentation also.
                                          Request

                                          {
                                          "tradingsymbol" : "SBIN-EQ",
                                          "symboltoken" : "3045",
                                          "exchange" : "NSE",
                                          "producttype" : "MARGIN",
                                          "transactiontype" : "BUY",
                                          "price" : 1,
                                          "qty" : 10,
                                          "disclosedqty": 10,
                                          "triggerprice" : 2,
                                          "timeperiod" : 365
                                          }

                                          Response

                                          {
                                          "status": true,
                                          "message": "Success",
                                          "errorcode": "",
                                          "data": {
                                          "id": 317
                                          }
                                          }

                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            Ravi Krishnan last edited by

                                            @admin Thanks for your response. I am able to place GTT orders. I am waiting for triggers. @ksingh7

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