GTT Orders not placing
-
@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
}
} -
-
@admin 
Image 1 - I have Created GTT Rules
Image 2 - Details of GTT Order (CMP: 105.75)
Image 3 - Adani Power EQ Price is 105.75. But the order is not placed in the Market.
Now We can create GTT rules. But GTT orders are not placed. This is the problem with GTT orders. Please advise us.
Thanks
-
Hi @Ravi-Krishnan We have gone through the issue we have reported this to team.We will update you on same.