[GH-ISSUE #11] Sector heatmaps return NaN percentages #1

Open
opened 2026-03-16 12:11:09 +03:00 by kerem · 2 comments
Owner

Originally created by @nickFalcone on GitHub (Jan 11, 2026).
Original GitHub issue: https://github.com/hipcityreg/situation-monitor/issues/11

I observe that the sector heatmap panels return NaN percentages. Related to this component github.com/hipcityreg/situation-monitor@23529b1c5b/src/lib/components/common/HeatmapCell.svelte (L25) and function github.com/hipcityreg/situation-monitor@23529b1c5b/src/lib/utils/format.ts (L67-L70)

I saw this on Sunday evening, maybe Finnhub API is returning a falsey value since US markets are closed?

Image
Originally created by @nickFalcone on GitHub (Jan 11, 2026). Original GitHub issue: https://github.com/hipcityreg/situation-monitor/issues/11 I observe that the sector heatmap panels return NaN percentages. Related to this component https://github.com/hipcityreg/situation-monitor/blob/23529b1c5b24412ce0487f5dc4c45c40eb69e252/src/lib/components/common/HeatmapCell.svelte#L25 and function https://github.com/hipcityreg/situation-monitor/blob/23529b1c5b24412ce0487f5dc4c45c40eb69e252/src/lib/utils/format.ts#L67-L70 I saw this on Sunday evening, maybe Finnhub API is returning a falsey value since US markets are closed? <img width="473" height="262" alt="Image" src="https://github.com/user-attachments/assets/b6f1d72d-36e2-4522-96da-53ea3493783c" />
Author
Owner

@maxwell-feng commented on GitHub (Jan 17, 2026):

Finnhub api error

<!-- gh-comment-id:3762977225 --> @maxwell-feng commented on GitHub (Jan 17, 2026): Finnhub api error
Author
Owner

@songqiu833-gif commented on GitHub (Jan 21, 2026):

The giant whale address needs to be fully displayed.

<!-- gh-comment-id:3778338051 --> @songqiu833-gif commented on GitHub (Jan 21, 2026): The giant whale address needs to be fully displayed.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/situation-monitor#1
No description provided.