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);
?