☰
Login
Signup
Home
›
Kite Publisher
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
154
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
November 2019
bondre
November 2019
rakeshr
Kite Publisher Plugin does not record the "tag"
bondre
November 2019
in
Kite Publisher
I am using the example from your documentation. I have tried it using forms as well as the publisher.js plugin.
The "tag" information is not recorded on the order. Is there something I am doing wrong here?
var your_basket = [{
"exchange" : "NSE",
"tradingsymbol" : "INFY",
"quantity" : 1,
"transaction_type": "BUY",
"product" : "CNC",
"order_type" : "MARKET",
"tag" : "ZDPubDemo",
"readonly" : true
}, {
"exchange" : "NSE",
"tradingsymbol" : "IDBI",
"quantity" : 1,
"transaction_type": "BUY",
"product" : "CNC",
"order_type" : "MARKET",
"tag" : "ZDPubDemo",
"readonly" : true
}];
//alert (JSON.stringify(your_basket));
document.getElementById("basket").value = JSON.stringify(your_basket);
document.getElementById("basket-form").submit();
Tagged:
orders
kite publisher
order status
rakeshr
November 2019
@bondre
You are sending tag param with more than 8 characters.It should be within 8 chars,
as stated here
.
bondre
November 2019
@rakeshr
Thanks for pointing that out. That fixed the issue.
Are we allowed to use only one tag or is it possible to set multiple tags?
rakeshr
November 2019
@bondre
Currently, we allow only one tag assignment in order, but in future, we are planning to allow multi tags assignment.
Sign In
or
Register
to comment.
You are sending tag param with more than 8 characters.It should be within 8 chars, as stated here.
Thanks for pointing that out. That fixed the issue.
Are we allowed to use only one tag or is it possible to set multiple tags?
Currently, we allow only one tag assignment in order, but in future, we are planning to allow multi tags assignment.