Re: E-MINI reqTickByTick data parameters
localSymbol should be ¡°ESZ3¡±. What you¡¯ve got, ¡°ESZ2¡±, is for December 2022.
?
?
toggle quoted message
Show quoted text
From: [email protected] <[email protected] > On Behalf Of franSent: Monday, November 20, 2023 8:51 PMTo: [email protected] Subject: [TWS API] E-MINI reqTickByTick data parameters
?
Hi everyone, I am having trouble getting the E-MINI ticker tick-by-tick data (specifically E-mini S&P 500; ESdec15'23(50) CME). I am trying to run this line of code:
m_pClient->reqTickByTickData(20004, ContractSamples::EMINI(), "BidAsk", 0, false); Where the contract is described like this in another file: Contract ContractSamples::EMINI(){ ??? Contract contract; ?? ?contract.symbol = "ES"; ?? ?contract.secType = "FUT"; ?? ?contract.exchange = "CME"; ?? ?contract.currency = "USD"; ??? contract.localSymbol = "ESZ2"; ?? ?contract.lastTradeDateOrContractMonth = "202315"; ?? ?return contract; } I keep getting an error related to a non-existing ticker. I would appreciate any help/insight to solve this.
Are you sure you wish to delete this message from the message archives of
[email protected] ?
This cannot be undone.
Are you sure you wish to repost this message?