Limit order executed immediately

placed order request
class GetOrderResponse {
status: success
data: [class OrderData {
exchange: NFO
price: 570.0
product: D
quantity: 15
status: put order req received
tag: null
validity: DAY
averagePrice: 0.0
disclosedQuantity: 0
exchangeOrderId: null
exchangeTimestamp: null
instrumentToken: NSE_FO|48758
isAmo: false
statusMessage: null
orderId: 240723000096191
orderRequestId: 1
orderType: LIMIT
parentOrderId: NA
tradingsymbol: BANKNIFTY24JUL2452300CE
tradingSymbol: BANKNIFTY24JUL2452300CE
orderTimestamp: 2024-07-23 09:39:45
filledQuantity: 0
transactionType: BUY
triggerPrice: 0.0
placedBy: null
variety: null
}
completed order in different price

class OrderData {
exchange: NFO
price: 570.0
product: D
quantity: 15
status: complete
tag: null
validity: DAY
averagePrice: 513.4
disclosedQuantity: 0
exchangeOrderId: 1600000018333837
exchangeTimestamp: 2024-07-23 09:39:45
instrumentToken: NSE_FO|48758
isAmo: false
statusMessage: null
orderId: 240723000096191
orderRequestId: 1
orderType: LIMIT
parentOrderId: NA
tradingsymbol: BANKNIFTY24JUL2452300CE
tradingSymbol: BANKNIFTY24JUL2452300CE
orderTimestamp: 2024-07-23 09:39:45
filledQuantity: 15
transactionType: BUY
triggerPrice: 0.0
placedBy: null
variety: null
}

these are the order IDā€™s
240723000096286
240723000096191

@Pradeep_Jaiswar please check this

It is because you might have placed limit price greater than market price. i.e. if option is running at 513.4 and you have place order with 570. Hence it is executed at 513.4. Limit order is used to buy at lower price. If you want to buy at higher price than market then you need to place Stop Loss Limit order where you can set price at 570 and trigger price at 568 something. Then your order will trigger when market price breaks 568 price.

1 Like

got it, thanks for the response