You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/data-streams/reference/report-schema-overview.mdx
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ Below is a summary of all available Data Streams report schemas, their main use
23
23
|[Real World Asset (RWA)](#real-world-asset-rwa-report-schema)|[View schema (v8)](/data-streams/reference/report-schema-v8)| Real World Asset (RWA) price streams |`midPrice`, `marketStatus`, `lastUpdateTimestamp`|
24
24
|[Net Asset Value (NAV)](#net-asset-value-nav-report-schema)|[View schema (v9)](/data-streams/reference/report-schema-v9)| Net Asset Value (NAV) streams |`aum`, `navPerShare`, `navDate`, `ripcord`|
|[24/5 US Equities](#245-us-equities-report-schema)|[View schema (v11)](/data-streams/reference/report-schema-v11)| Extended-hours US equity price streams |`mid`, `bid`, `ask`, `bidVolume`, `askVolume`, `lastTradedPrice`, `marketStatus`|
26
27
27
28
## Cryptocurrency Report Schema
28
29
@@ -65,3 +66,11 @@ Data Streams ensures that any NAV update, whenever it occurs, is captured and ma
65
66
The underlying US equities trade on traditional exchanges during [market hours](/data-streams/market-hours). These market hours depend per asset class and can be subject to unexpected halts, pauses and other behaviors affecting traditional markets. For this reason, this class of Data Streams contains a market hours flag and a staleness measure to equip our users to handle these events correctly. It is critical that users implement correct safeguards on their end to pause markets, add more conservative risk caps, or implement other measures appropriate for their application.
66
67
67
68
[The schema](/data-streams/reference/report-schema-v10) is designed specifically for tokenized equities such as xStocks and contains data from the Chainlink US equities streams, combined with data provided by the tokenizer to properly handle corporate actions. With this enhanced data users are able to handle expected and unexpected market events such as pauses, halts and market off hours. The tokenization provider layers in data around the `currentMultiplier`, the `newMultiplier` and the `activationDateTime` of the new multiplier to handle corporate actions.
69
+
70
+
## 24/5 US Equities Report Schema
71
+
72
+
[Chainlink 24/5 US Equities Data Streams](/data-streams/reference/report-schema-v11) provide comprehensive market data for US equity assets across extended trading hours, enabling DeFi protocols to access real-time pricing during pre-market, regular, post-market, overnight, and weekend sessions. Each report includes a liquidity-weighted mid price (`mid`), consensus bid and ask prices (`bid`, `ask`), associated volumes (`bidVolume`, `askVolume`), the most recent traded price (`lastTradedPrice`), a staleness measure (`lastSeenTimestampNs`), and market status (`marketStatus`).
73
+
74
+
US equities trade on traditional exchanges during [market hours](/data-streams/market-hours), which can be subject to unexpected halts, pauses, and other behaviors affecting traditional markets. The `marketStatus` field provides critical context about the current trading session (pre-market, regular, post-market, overnight, or weekend), helping protocols implement appropriate safeguards based on market conditions. It is important to note that market status cannot automatically detect public holidays. Users should reference documented holiday schedules and implement staleness checks using `lastSeenTimestampNs` to handle holiday periods appropriately.
75
+
76
+
For optimal integration, users should implement safeguards that respond to both market status changes and staleness indicators, adjusting risk parameters, liquidity constraints, or trading pauses as appropriate for their specific application during non-regular hours or when data appears stale.
title: "24/5 US Equities Report Schema (v11) | Chainlink Data Streams"
7
+
description: "Learn about Chainlink 24/5 US Equities report schema (v11), including fields, encoding, and examples for integrating extended-hours equity data in your applications."
|`feedId`|`bytes32`| Unique identifier for the Data Streams feed |
36
+
|`validFromTimestamp`|`uint32`| Earliest timestamp when the price is valid (seconds) |
37
+
|`observationsTimestamp`|`uint32`| Latest timestamp when the price is valid (seconds) |
38
+
|`nativeFee`|`uint192`| Cost to verify report onchain (native token) |
39
+
|`linkFee`|`uint192`| Cost to verify report onchain (LINK) |
40
+
|`expiresAt`|`uint32`| Expiration date of the report (seconds) |
41
+
|`mid`|`int192`| Liquidity-weighted mid price |
42
+
|`lastSeenTimestampNs`|`uint64`| Staleness indicator based on mid price (nanoseconds) |
43
+
|`bid`|`int192`| Median bid price |
44
+
|`bidVolume`|`int192`| Volume at bid price |
45
+
|`ask`|`int192`| Median ask price |
46
+
|`askVolume`|`int192`| Volume at ask price |
47
+
|`lastTradedPrice`|`int192`| Last traded price |
48
+
|`marketStatus`|`uint32`| Status of the real-world equity market. <br/> Possible values: <br/> `0` (Unknown), <br/> `1` (Pre-market extended hours), <br/> `2` (Regular hours), <br/> `3` (Post-market hours), <br/> `4` (Overnight), <br/> `5` (Weekend) <br/> [More details](#market-status-values)|
49
+
50
+
**Notes:**
51
+
52
+
- Future 24/5 US Equities streams may use different report schemas.
53
+
-`lastSeenTimestampNs` helps applications detect stale data, especially important during market transitions and holidays.
54
+
- Market status cannot detect public holidays. See [Market Hours](/data-streams/market-hours) for major holiday periods.
55
+
56
+
##### Market Status Values
57
+
58
+
The `marketStatus` field reflects the current state of the equity market:
59
+
60
+
-**`0` (Unknown)** - Market status cannot be determined
61
+
-**`1` (Pre-market extended hours)** - Market is in pre-market trading session
62
+
-**`2` (Regular hours)** - Market is in regular trading session
63
+
-**`3` (Post-market hours)** - Market is in post-market trading session
64
+
-**`4` (Overnight)** - Market is closed overnight (between post-market close and next day's pre-market open)
65
+
-**`5` (Weekend)** - Weekend period (Friday 20:00 ET to Sunday 20:00 ET)
66
+
67
+
Users should implement appropriate safeguards based on market status, such as pausing trading, adjusting risk parameters, or implementing staleness checks during non-regular hours.
0 commit comments