Data Streams Best Practices

This page provides best practices and recommendations for using Chainlink Data Streams effectively in your applications. These practices can help you manage risks, optimize performance, and ensure compliance with market standards.


Real-World Assets (RWA)

For best practices regarding RWA streams:

Tokenized Assets

For best practices regarding stock splits and reverse splits for tokenized assets, please see the Handling Stock Splits guide.

Report Timestamps

Each report applies to a span of time defined by validFromTimestamp and observationsTimestamp, and that span can vary in width. Read both fields from each report rather than assuming a fixed cadence or deriving the window from your own clock. See How Report Timestamps Work for details, including how gaps between reports are absorbed and how timestamps apply to TWAP streams.

Rate Limits

Rely on the WebSocket stream for report delivery rather than polling a REST endpoint in a tight loop, and implement exponential backoff on reconnect logic. See the Rate Limits and Fair Use Policy page for applicable limits and how to avoid HTTP 429 responses.

What's next

Get the latest Chainlink content straight to your inbox.