I am trying to lookup contract details (socket.reqContractDetails()) of the following option contract (com.ib.client.Contract.OptContract):
conid 0
symbol XLY
secType OPT
lastTradeDateOrContractMonth 20210416
strike 119.0
right C
exchange SMART
currency USD
I get error code 200:?No security definition has been found for the request
Anyone know what is wrong with my request?