☰
Login
Signup
Home
›
PHP client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
January 2018
cusodha
January 2018
sujith
Unable to cancel open orders
cusodha
January 2018
in
PHP client
Not able to cancel the order with following details
req :-
https://api.kite.trade/orders/regular/180117001651111?api_key=xxx&access_token=xxx
Output:
{
"status": "error",
"message": "Route not found",
"error_type": "GeneralException"
}
Tagged:
orders
sujith
January 2018
Is this regular or bracket order?
cusodha
January 2018
Its regular order
sujith
January 2018
edited January 2018
You need to send variety as bo, order_id, and parent_order_id for exiting bracket order.
cusodha
January 2018
Sir,
Its regular limit order and not BO or CO.
Thankyou
sujith
January 2018
For canceling a regular order the above URL looks fine.
Are you sure this order belongs to the same user_id?
Can you try today and let us know?
cusodha
January 2018
edited January 2018
Yes I have checked again, and we are working only on one User_id.
Here I have attached screenshot.
bug.png
27.6K
order.png
38.8K
sujith
January 2018
edited January 2018
Hi,
The above URL will not work with GET request. The route is only for canceling an order.
In order to get order history, the URL would be something like,
https://api.kite.trade/orders/:order_id
Sign In
or
Register
to comment.
Its regular limit order and not BO or CO.
Thankyou
Are you sure this order belongs to the same user_id?
Can you try today and let us know?
Here I have attached screenshot.
The above URL will not work with GET request. The route is only for canceling an order.
In order to get order history, the URL would be something like,
https://api.kite.trade/orders/:order_id