Running Strategy through IBridgePy connection with IBKR

Hi, I am able to connect to my Paper Trading account on IBKR, but while running a butterfly options trading strategy I am getting an error as follows:

Initialize trader COMPLETED

broker_client_factory.CallBacks:: error: errorID=14 errorCode 200 errorMessage - No security definition has been found for the request FUT, NIFTY, INR 20250930

How can I fix this? Thank you

Hi Rejendrakumar,

We are looking into this. We will get back to you.

Hi Rajendrakumar,

IBKR is rejecting your contract request because the details don’t match a listed product. I suggest you use NIFTY50 (not NIFTY) as the symbol for NSE futures, set the exact expiry date (e.g., 20250925 not 20250930), keep exchange='NSE' and currency='INR', and include tradingClass='NIFTY'. If it’s SGX Nifty, use symbol='NIFTY', exchange='SGX', and currency='USD'. Best practice: always run reqContractDetails() first to resolve the contract and trade using its conId. That will fix the “No security definition found” error. Please feel free to ask, if you have any more questions