For purposes of this discussion, assume that just US equities are under consideration.
I am assuming the information should be embedded in IQFeed's update messages somewhere. The documentation for these messages is here:
http://www.iqfeed.net/dev/api/docs/UpdateSummaryMessageFormat.htmlAssuming that
--the message Type is Q (update)
--the "Time" field ends with 't' or 'T' (i.e. a trade occurred)
then where in the message is the exchange info stored?
Note that the "Exchange ID" codes seem to be worthless: for US Equities, the main values that should be returned are either
F (NASDAQ)
D (NYSE)
according to
http://www.iqfeed.net/dev/api/docs/ExchangeCodes.htmlBut the above exchange code list has no values for the various ECNs, and the ECNs in aggregate are a big source of liquidity!
Similarly, the "Market Center" field seems like it might store this info, but its possible values
http://www.iqfeed.net/dev/api/docs/MarketCenterCodes.htmlagain say nothing about ECNs, mainly just regional US exchanges.
Am I missing something, or is this a huge limitation with IQFeed (no ECN info)?