This is because IB screwed something up and marked the AM expiration as SPXW instead of SPX. Today was the first time I have ever seen this. IB support told me they were aware of the issue and were working on it. Not sure if they resolved it today or not?
toggle quoted message
Show quoted text
On Wed, Jan 8, 2025, 2:59?PM Pratik Babhulkar via <praditik=
[email protected]> wrote:
Interesting observation. Would love to have your opinions.?
?
I have been using this script to validate the option contracts using `qualifyContracts`. Today, I am getting ambiguous contracts error for this Option Contract. I know about few days when monthly and weekly expiries coincide. But, this is a different case. Both of the possible contracts suggested are SPXW trading class and the only difference is in the contract ID. Is it possible somehow that this has some relation with AM vs PM settlement? I am noticing this for first time.
?
?
Ambiguous contract: Option(symbol='SPX', lastTradeDateOrContractMonth='20250108', strike=5895.0, right='PUT', multiplier='100', exchange='SMART', currency='USD', tradingClass='SPXW'), possibles are [
Contract(secType='OPT', conId=749800369, symbol='SPX', lastTradeDateOrContractMonth='20250108', strike=5895.0, right='P', multiplier='100', exchange='SMART', currency='USD', localSymbol='SPXW ?250108P05895000', tradingClass='SPXW'),
Contract(secType='OPT', conId=749800737, symbol='SPX', lastTradeDateOrContractMonth='20250108', strike=5895.0, right='P', multiplier='100', exchange='SMART', currency='USD', localSymbol='SPXW ?250109P05895000', tradingClass='SPXW')]
?
Regards,
Pratik
?
?