GTT Orders not placing
-
GTT orders is not triggered. I have followed methods which mentioned in test py program. But I am getting above error. The error said something went wrong. (AB1004). Please give example program in python which can be error free. Please do the needful.
-
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 ?
-
Dear @admin i am getting this error - ReadTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)
-
@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.
-
-
HI @Ravi-Krishnan @ksingh7 @Ravi-Krishnan We will update you on this tomorrow after coordinating with team.
-
-
@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
-
-
Hi @Ravi-Krishnan we are already in process of fixing this ravi-krishnan.
-
hi @ksingh7 hi @Ravi-Krishnan can you check now it has been fixed by our team.
-
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 }
@Ravi-Krishnan For your information
-
Hi @ksingh7 have yo updated the sdk.
-
-
HI @Ravi-Krishnan hi @ksingh7 we will connect you tomorrow on a meet and resolve this tomorrow asap.
-
-
Hi @Ravi-Krishnan we will soon update you this we are already trying to come up with the solution on this internally.
-
@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.
-
@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.
-
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
}
}