Tradier offers access to an HTTP streaming API if you have been approved for access. We use open HTTP-based socket streaming which allows you to receive updated market data and account information as these events occur. We process market data and account events as soon as they happen and send them downstream to anyone listening.
In order to initiate streaming, you’ll need to create an authenticated streaming session. Once this session has been created you can make a request to the streaming API endpoints using the returned session identifier. Streaming session identifiers are short-lived identifiers that have short expiry times – so they should be used immediately after request.
As long as data is flowing across the HTTP socket, the HTTP request will stay open. If you’re streaming very inactive symbols and don’t receive data for 15 minutes, the session will close automatically. You should implement reconnecting in the event the socket is closed.
Tradier Inc. and its corresponding technology services (including API services) are distinct and separate from the services provided by Tradier Brokerage Inc. For more information regarding the services of Tradier, Inc., please contact email@example.com. For more information regarding the services of Tradier Brokerage, Inc. please contact firstname.lastname@example.org. Tradier Brokerage Inc. Member FINRA/SIPC