Dear Support, I am not able to place any BUY order for Bank Nifty Options. I had tried multiple times and it keeps saying "{"The instrument you are placing an order for has either expired or does not exist."}, I am using "banknifty2311942500ce" in the code ( I tried upper case also, same issue comes up). I wanted to place Bank Nifty CE buy for 42500 Strike Price at Market rate for 19 Jan expiry.
I have already tried below combinations in the code for trading symbol and each of these give "KiteConnect.InputException: 'The instrument you are placing an order for has either expired or does not exist.' " BANKNIFTY2311942500CE banknifty2311942500ce 11469058
Can someone tell me what wrong I am doing or if the API doesn't work, then why are you guys charging end users?
and none of them works, it keeps giving error "KiteConnect.InputException: 'The instrument you are placing an order for has either expired or does not exist.'
KiteConnect.InputException: 'Invalid `product`.
Kindly help, we blindly buy products associated with Zerodha, this is not expected for a reputed firm and more so when we pay for the service.
sujith I have picked Trading Symbol / Instrument from the file listed on your website and I have mentioned those also in my thread. Can you reread my thread where I have told in detail and tell me what product / trading symbol I have to use?
I have used NFO also and it is also giving me the same error. Can someone assist me on what parameter is wrong?
Sujith I am using the correct product BANKNIFTY2311942500CE and I am using NFO only. Can you tell me what is wrong with this PRODUCT that I have mentioned (this product I have picked from your listed master file only (i.e. https://api.kite.trade/instruments/NFO)?
To make it more clear, I am able to place order for STOCKS but for OPTIONS it's not working and I have to place order for OPTIONS. Can you tell me what is wrong with BANKNIFTY2311942500CE product, this I have picked from website listed file only, you can cross verify?
Sujith sorry to tell but you have pasted a very general response without telling me what wrong product I am using? I have already mentioned what product I am using and I have also told you that I have picked this information from your website only.
Can you tell me what wrong I am doing categorically after reading my response? I am not able to place any TRADE via API for which I have paid because of this issue so you can understand my urgency.
Rakesh I am using TRIM function in coding which always removes SPACES from start and end in case there is but I have cross checked these things before I reached out to the support forum. To answer your query, no there isn't any space. Not sure what I have to do here to resolve this issue
Now the markets are closed so not able to check it as it is giving message "Market is closed", will check it tomorrow and update accordingly. This is the code I am using, can you comment if this needs to change?
I have downloaded one sheet from your website which has listing of Strike Price, expiry, etc https://api.kite.trade/instruments/NFO
instrument_token,exchange_token,tradingsymbol,name,last_price,expiry,strike,tick_size,lot_size,instrument_type,segment,exchange
11469058,44801,BANKNIFTY2311942500CE,"BANKNIFTY",0,2023-01-19,42500,0.05,25,CE,NFO-OPT,NFO
11469314,44802,BANKNIFTY2311942500PE,"BANKNIFTY",0,2023-01-19,42500,0.05,25,PE,NFO-OPT,NFO
I have already tried below combinations in the code for trading symbol and each of these give "KiteConnect.InputException: 'The instrument you are placing an order for has either expired or does not exist.'
"
BANKNIFTY2311942500CE
banknifty2311942500ce
11469058
Can someone tell me what wrong I am doing or if the API doesn't work, then why are you guys charging end users?
Thanks
Exchange: Constants.EXCHANGE_NFO,
Exchange: Constants.EXCHANGE_NSE,
and none of them works, it keeps giving error
"KiteConnect.InputException: 'The instrument you are placing an order for has either expired or does not exist.'
KiteConnect.InputException: 'Invalid `product`.
Kindly help, we blindly buy products associated with Zerodha, this is not expected for a reputed firm and more so when we pay for the service.
Thanks
I have used NFO also and it is also giving me the same error. Can someone assist me on what parameter is wrong?
To make it more clear, I am able to place order for STOCKS but for OPTIONS it's not working and I have to place order for OPTIONS. Can you tell me what is wrong with BANKNIFTY2311942500CE product, this I have picked from website listed file only, you can cross verify?
Can you tell me what wrong I am doing categorically after reading my response?
I am not able to place any TRADE via API for which I have paid because of this issue so you can understand my urgency.
Thanks
var resp = kite.PlaceOrder(
Exchange: "NFO",
TradingSymbol: "BANKNIFTY2311942200CE",
TransactionType: "BUY",
Quantity: 25,
OrderType: "MARKET",
Product: "NRML"
);
Thanks