Skip to content

Include overnightStreamMaxAgeInSeconds in tokenized-equity#4792

Merged
mxiao-cll merged 4 commits intomainfrom
token
Apr 2, 2026
Merged

Include overnightStreamMaxAgeInSeconds in tokenized-equity#4792
mxiao-cll merged 4 commits intomainfrom
token

Conversation

@mxiao-cll
Copy link
Copy Markdown
Contributor

@mxiao-cll mxiao-cll commented Apr 1, 2026

Closes #OPDATA-6547

Some overnight stream maybe stale, DS has asked us to exclude these streams from calculating the tokenized price if the stream is more than 8 hours old.

Description

  • Take overnightStreamMaxAgeInSeconds in and pass it to data-engine EA
  • Instead of asking all 3 streams to succeed, we only need the current market hour stream to succeed

Quality Assurance

  • If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant infra-k8s configuration file.
  • If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant adapter-secrets configuration file.
  • If a new adapter was made, or a new endpoint was added, update the test-payload.json file with relevant requests.
  • The branch naming follows git flow (feature/x, chore/x, release/x, hotfix/x, fix/x) or is created from Jira.
  • This is related to a maximum of one Jira story or GitHub issue.
  • Types are safe (avoid TypeScript/TSLint features like any and disable, instead use more specific types).
  • All code changes have 100% unit and integration test coverage. If testing is not applicable or too difficult to justify doing, the reasoning should be documented explicitly in the PR.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 1, 2026

🦋 Changeset detected

Latest commit: 7110b10

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@chainlink/tokenized-equity-adapter Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mxiao-cll mxiao-cll requested a review from a team April 1, 2026 21:03
@dskloetc
Copy link
Copy Markdown
Contributor

dskloetc commented Apr 2, 2026

Can you provide some context in the PR description?

@mxiao-cll
Copy link
Copy Markdown
Contributor Author

Can you provide some context in the PR description?

Done

@mxiao-cll mxiao-cll requested review from a team and dskloetc April 2, 2026 13:59
@mxiao-cll mxiao-cll requested a review from dskloetc April 2, 2026 14:19
@mxiao-cll mxiao-cll merged commit 8868570 into main Apr 2, 2026
20 of 21 checks passed
@mxiao-cll mxiao-cll deleted the token branch April 2, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants