Hi,
Please tell me if I am wrong. Using Interactive Broker's API, depending on what exchange you use to subscribe to realtime data on an equity, the previous day "close" will change depending on what exchange you used to subscribe to data. So if you subscribe to IBM quotes using "SMART" you could potentially get a different close than if you subscribe to IBM from the NYSE. That blows if only for the reason that your calculation of what the gain or loss on the stock for the day is off [won't match other feeds or even TWS itself]
Is there a way to get the "official" close [NYSE close for NYSE stocks, and NAZ close otherwise, or maybe just the 3:00 PM CST close for everything] for an equity without worrying about what exchange you get your data from, i.e. "SMART"?
I notice that on TWS, even though I subscribe to SMART for a stock, it still gets the close correctly. What is the right way to do this in the API?
Thanks,
nitro
Please tell me if I am wrong. Using Interactive Broker's API, depending on what exchange you use to subscribe to realtime data on an equity, the previous day "close" will change depending on what exchange you used to subscribe to data. So if you subscribe to IBM quotes using "SMART" you could potentially get a different close than if you subscribe to IBM from the NYSE. That blows if only for the reason that your calculation of what the gain or loss on the stock for the day is off [won't match other feeds or even TWS itself]
Is there a way to get the "official" close [NYSE close for NYSE stocks, and NAZ close otherwise, or maybe just the 3:00 PM CST close for everything] for an equity without worrying about what exchange you get your data from, i.e. "SMART"?
I notice that on TWS, even though I subscribe to SMART for a stock, it still gets the close correctly. What is the right way to do this in the API?
Thanks,
nitro