☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
April 2019
ruchi_kumari12
April 2019
sujith
how to capture price
ruchi_kumari12
April 2019
in
Kite Publisher
i need information about price at which the trade was placed by the user.how can i capture that price?
sujith
April 2019
Is this regarding Kite Publisher?
ruchi_kumari12
April 2019
yeah like this i am placing my order.
function KiteBuyButton(tradingsymbol,transactiontype,ids){
KiteConnect.ready(function() {var kite = new KiteConnect("*******");
kite.add({
"tradingsymbol": tradingsymbol,
"exchange": "NFO",
"transaction_type": transactiontype ,
"order_type": "MARKET",
"product": "NRML",
"quantity": trade_qty,
"readonly": true
});
kite.finished(function(status, request_token) {
alert("Finished. Status is " + status);});
kite.renderButton("#default-button");
kite.link('#'+ids);
});
}
sujith
April 2019
It is always 0 for a market order. One can't fetch order details using a Kite Publisher. You need a Kite Connect app to fetch order details.
ruchi_kumari12
April 2019
ok thanks
Sign In
or
Register
to comment.
function KiteBuyButton(tradingsymbol,transactiontype,ids){
KiteConnect.ready(function() {var kite = new KiteConnect("*******");
kite.add({
"tradingsymbol": tradingsymbol,
"exchange": "NFO",
"transaction_type": transactiontype ,
"order_type": "MARKET",
"product": "NRML",
"quantity": trade_qty,
"readonly": true
});
kite.finished(function(status, request_token) {
alert("Finished. Status is " + status);});
kite.renderButton("#default-button");
kite.link('#'+ids);
});
}