Skip to content

Commit 6bb5ef8

Browse files
committed
updates
1 parent 276b965 commit 6bb5ef8

File tree

6 files changed

+40
-24
lines changed

6 files changed

+40
-24
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/content/data-streams/market-hours.mdx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,21 @@ Cryptocurrency markets operate continuously, with no designated market close.
4848
RWA markets operate during specific hours, with breaks for holidays and sometimes daily pauses.
4949

5050
{/* prettier-ignore */}
51-
<Aside type="note" title="marketStatus values">
52-
In the [RWA report schema (v8)](/data-streams/reference/report-schema-v8), the <code>marketStatus</code> field indicates market status:<br/>
51+
<Aside type="note" title="marketStatus field differences">
52+
The <code>marketStatus</code> field varies by schema version:<br/><br/>
53+
<strong>RWA Schema (v8)</strong> — [View schema](/data-streams/reference/report-schema-v8)<br/>
5354
• <code>0</code> → <strong>Unknown</strong><br/>
5455
• <code>1</code> → <strong>Closed</strong><br/>
5556
• <code>2</code> → <strong>Open</strong><br/>
57+
<em>Coverage: Regular trading hours only (9:30am–4:00pm ET)</em><br/><br/>
58+
<strong>24/5 US Equities Schema (v11)</strong> — [View schema](/data-streams/reference/report-schema-v11)<br/>
59+
• <code>0</code> → <strong>Unknown</strong><br/>
60+
• <code>1</code> → <strong>Pre-market</strong><br/>
61+
• <code>2</code> → <strong>Regular hours</strong><br/>
62+
• <code>3</code> → <strong>Post-market</strong><br/>
63+
• <code>4</code> → <strong>Overnight</strong><br/>
64+
• <code>5</code> → <strong>Weekend</strong><br/>
65+
<em>Coverage: 24/5 including extended and overnight hours (4:00am Sunday–8:00pm Friday ET)</em><br/><br/>
5666
All times are Eastern&nbsp;Time (ET, UTC-05 / UTC-04 DST).
5767
</Aside>
5868

src/content/data-streams/reference/report-schema-v11.mdx

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import ReportSchemaTabs from "@features/data-streams/common/ReportSchemaTabs.ast
2828

2929
Chainlink 24/5 US Equities Data Streams adhere to the report schema outlined below.
3030

31-
### Schema Fields
31+
## Schema Fields
3232

3333
| Field | Type | Description |
3434
| ----------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -47,21 +47,24 @@ Chainlink 24/5 US Equities Data Streams adhere to the report schema outlined bel
4747
| `lastTradedPrice` | `int192` | Last traded price |
4848
| `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) |
4949

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
50+
### Market Status Values
5751

5852
The `marketStatus` field reflects the current state of the equity market:
5953

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)
54+
| Value | Status | Hours (ET) | Description |
55+
| ----- | ----------------- | ------------------------------------- | ---------------------------------------------- |
56+
| `0` | **Unknown** || Market status cannot be determined |
57+
| `1` | **Pre-market** | 4:00am–9:30am Mon–Fri | Extended hours before regular trading session |
58+
| `2` | **Regular hours** | 9:30am–4:00pm Mon–Fri | Primary trading session with highest liquidity |
59+
| `3` | **Post-market** | 4:00pm–8:00pm Mon–Fri | Extended hours after regular trading session |
60+
| `4` | **Overnight** | 8:00pm–4:00am Sun evening–Fri morning | Overnight session with limited liquidity |
61+
| `5` | **Weekend** | 8:00pm Fri–8:00pm Sun | Weekend period when primary markets are closed |
6662

6763
Users should implement appropriate safeguards based on market status, such as pausing trading, adjusting risk parameters, or implementing staleness checks during non-regular hours.
64+
65+
### Notes
66+
67+
- Future 24/5 US Equities streams may use different report schemas.
68+
- `lastSeenTimestampNs` helps applications detect stale data, especially important during market transitions and holidays.
69+
- Market status cannot detect public holidays. See [Market Hours](/data-streams/market-hours) for major holiday periods.
70+
- Data availability and sourcing vary by session. Liquidity is typically highest during regular hours and lower during extended and overnight sessions.

src/content/data-streams/us-equities-streams/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
section: dataStreams
33
title: "Data Streams 24/5 US Equities streams"
4-
datafeedtype: streamsCrypto
4+
datafeedtype: streams245
55
metadata:
66
title: "Data Streams 24/5 US Equities streams"
77
description: "A list of available Data Streams 24/5 US Equities streams and their ID."

src/features/feeds/components/FeedList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ export const FeedList = ({
579579
? "Testnet Backed xStock Streams"
580580
: dataFeedType === "streams245"
581581
? "Testnet 24/5 US Equities Streams"
582-
: "Testnet RWA Streams"
582+
: "Testnet RWA Streams"
583583

584584
// Initialize search input fields with URL parameter values
585585
useEffect(() => {

src/features/feeds/components/FeedPage.astro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import { FeedList, DataFeedType } from "./FeedList"
44
import { Aside } from "@components"
55
export type Props = {
66
initialNetwork?: string
7-
ecosystem: string
7+
ecosystem?: string
88
dataFeedType?:
99
| DataFeedType
1010
| "streamsBacked"
1111
| "streamsCrypto"
1212
| "streamsRwa"
1313
| "streamsNav"
1414
| "streamsExRate"
15+
| "streams245"
1516
| "smartdata"
1617
| "default"
1718
| "rates"
@@ -82,7 +83,8 @@ const feedItems: FeedDataItem[] = monitoredFeeds.mainnet
8283
dataFeedType === "streamsRwa" ||
8384
dataFeedType === "streamsNav" ||
8485
dataFeedType === "streamsExRate" ||
85-
dataFeedType === "streamsBacked" ? (
86+
dataFeedType === "streamsBacked" ||
87+
dataFeedType === "streams245" ? (
8688
<>
8789
<p>
8890
To learn how to use Data Streams, see the{" "}
@@ -192,6 +194,7 @@ const feedItems: FeedDataItem[] = monitoredFeeds.mainnet
192194
dataFeedType === "streamsNav" ||
193195
dataFeedType === "streamsExRate" ||
194196
dataFeedType === "streamsBacked" ||
197+
dataFeedType === "streams245" ||
195198
dataFeedType === "usGovernmentMacroeconomicData" ? (
196199
<> </>
197200
) : (

0 commit comments

Comments
 (0)