¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

How to Get SPX/SPXW Quote price or current price


 

i am trying to get the current price of SPX or SPXW but i am getting error. while trying with request Historical data getting the below error

error :? "It does not support historical data backfill."

?

code snippet:

const contract = {

? symbol: 'SPX',

? secType: 'IND',

? exchange: 'CBOE',

? currency: 'USD'

};

?

ibClient.reqHistoricalData( 1, contract, '', '1 D', '1 min', 'TRADES', 1, 1, false, [] );

?

also i tried with request market data still getting error as "It does not support delta-neutral orders"

?

Thanks in advance

?

const contract = {

? symbol: 'SPX',

? secType: 'IND',

? exchange: 'CBOE',

? currency: 'USD'

};

ib.reqMktData(1, contract, '', false);

?

Join [email protected] to automatically receive all group messages.