How to find open price in live api

Hi experts,

I am trying to find the first trade price of some stock on U.S. stock market for today using the real-time data api.
Assume I subscribe to the stock’s update via websocket as soon as the market opens, how can I tell which is the first message corresponding to a trade? According to the api: Real-Time Data API (WebSockets) for the best market trading, offers streaming stock data and price information it seems that there is this “c” field for trade condition. Is this the way to tell whether a given message is a regular trade?

Thanks

Hello. Trade condition code 16 (the field “c”, Real-Time Data API (WebSockets) for the best market trading, offers streaming stock data and price information) is the official opening value of a ticker.

1 Like

thanks for the quick response!