Skip to content

Add market trade data to symbol charts - #1226

Merged
carkod merged 2 commits into
masterfrom
market-trades-chart
Nov 27, 2026
Merged

carkod merged 2 commits into
masterfrom
market-trades-chart

Conversation

@carkod

@carkod carkod commented Nov 24, 2026

Copy link
Copy Markdown
Owner

No description provided.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T12:10:21.433051Z c9e688a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c9e688acab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

refetchOnMountOrArgChange: true,
});

const { currentData: contract } = useFuturesContractQuery(symbol, { skip });

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle contract-query failures and provide a retry path

If the contract request fails on initial load, successful trade responses still cannot produce a summary because contract remains undefined. Only the trade query's loading and error states are rendered, so the card becomes blank without explaining the failure. Polling trades does not retry the separate contract query. Include the contract query's loading/error states and provide a way to retry it so a transient contract-request failure does not leave the chart unavailable for the rest of the mounted session.

Useful? React with 👍 / 👎.

@carkod
carkod force-pushed the market-trades-chart branch 2 times, most recently from c8e6556 to ac506d1 Compare November 24, 2026 15:50
@carkod
carkod force-pushed the market-trades-chart branch from ac506d1 to 61afe37 Compare November 25, 2026 01:53
@carkod
carkod force-pushed the market-trades-chart branch from 0e1d57a to 8a3d5d3 Compare November 27, 2026 17:43
@carkod
carkod merged commit 31bb72e into master Nov 27, 2026
13 of 14 checks passed
@carkod
carkod deleted the market-trades-chart branch November 27, 2026 21:51
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.

1 participant