how to capture price

i need information about price at which the trade was placed by the can i capture that price?
  • sujith
    Is this regarding Kite Publisher?
  • ruchi_kumari12
    yeah like this i am placing my order.

    function KiteBuyButton(tradingsymbol,transactiontype,ids){
    KiteConnect.ready(function() {var kite = new KiteConnect("*******");
    "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);});
  • sujith
    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.
Sign In or Register to comment.