How to get what type of error in case of input exception?

mailboxofrafiq

I placed SL order above upper circuit. Java client was throwing input exception. How to know whether this is because of upper circuit limit?

exchange:NFO
tradingsymbol:FINNIFTY2412319950PE
transactionType:SELL
quantity:1000
price:20.0
product:NRML
orderType:LIMIT
validity:DAY
disclosedQuantity:null
triggerPrice:null
squareoff:null
stoploss:null
trailingStoploss:null
tag:null
parentOrderId:null
validityTTL:0
icebergQuantity:0
icebergLegs:0

setting error..
e.getLocalizedMessage():null
com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.dealWithException(KiteResponseHandler.java:54)
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:20)
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.postRequest(KiteRequestHandler.java:86)
at com.zerodhatech.kiteconnect.KiteConnect.placeOrder(KiteConnect.java:360)
Tagged:
Sign In or Register to comment.