Hi,
?
Why are these two tasks so slow? I am trying to create an interactive application where a user can just give a ticker, and basic settings like maximum days to expiration, ITM/OTM, and set a minimum dollar value purchase to alert on when a large purchase is observed on any of the calls or puts for the ticker. (I intend to put this in a production algorithm, but just testing right now to see if I can do this fast) The problem seems to be that when I read in the option chain with reqSecDefOptParams() for the ticker, even when drilling down on current selected settings to reduce the number of contracts to stream at once, they come with contract.conId = 0. I have to then reqContractDetails() again to get conId and its painfully slow. Am I missing something with reqSecDefOptParams()? Should they come with conId's filled out? Has anyone else observed this??
?
Thanks