☰
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
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
797
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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);
});
}