We're releasing a new feature, order tagging, which will go live on the Monday, 24th October 2016. It allows you to send a custom identifier along with every order (max 8 char alphanumeric string), which is useful for classifying and tagging the orders you place.
- The /orders end point (POST) method will start accepting the tag parameter. - The entries in the response for order retrieval (/orders GET) will have a new field added to the JSON, `tag`.
This should not affect your existing implementations, but just to be sure, please make sure that your JSON parser can deal with the new "tag" field that will appear with each order entry.
PS: You will need to update your Python client on the day of release so that the placeOrder() method accepts the new tag parameter.
Hi @Kailash, Thanks for the update. Order Place doccumentation Here is not updated. How can I add the tag argument? Shall I just add another argument like this tag="identifier"? I don't want to tag my orders with identifier. Is tag argument mandatory?If yes,Is it ok if I pass a blank string to tag argument?
@suraj Its an optional param and you don't have to modify your code unless you would like to use it. By default tab will be null in your orders response if you don't set it.
@vivek@suraj | What's the update on the 'tag' feature ? Also, if the documentation can't be updated, could you at least specify here how the updated syntax will look.
@Kailash Hi, thanks for the prompt update. Id like to notify for the help of others too, this updated document is only showing the updates on Internet Explorer not on chrome as a browser. Also, the Example request is not showing the tag feature. This is all it shows even on the IE browser:
How can I add the tag argument?
Shall I just add another argument like this tag="identifier"?
I don't want to tag my orders with identifier. Is tag argument mandatory?If yes,Is it ok if I pass a blank string to tag argument?
null
in your orders response if you don't set it.you are saying the signature of the functions changed, and the updated code will be released on monday.
how am i supposed to download the new kiteconnect python and change my script for pre-open monday?
you should release your changes after friday close atleast.
Also, the Example request is not showing the tag feature. This is all it shows even on the IE browser:
curl https://api.kite.trade/orders/regular \
-d "api_key=xxx" \
-d "access_token=yyy" \
-d "tradingsymbol=ACC" \
-d "exchange=NSE" \
-d "transaction_type=BUY" \
-d "order_type=MARKET" \
-d "quantity=1" \
-d "product=MIS" \
-d "validity=DAY"
As per my understanding, will it be something like:
curl https://api.kite.trade/orders/regular \
-d "api_key=xxx" \
-d "access_token=yyy" \
-d "tradingsymbol=ACC" \
-d "exchange=NSE" \
-d "transaction_type=BUY" \
-d "order_type=MARKET" \
-d "quantity=1" \
-d "product=MIS" \
-d "validity=DAY" \
-d "tag=ALPNUM99"