Skip to content

chore: Unix times in milliseconds go on the roadmap - #85

Merged
MarkRosemaker merged 1 commit into
mainfrom
chore/roadmap-unix-ms
Nov 25, 2026
Merged

MarkRosemaker merged 1 commit into
mainfrom
chore/roadmap-unix-ms

Conversation

@MarkRosemaker

Copy link
Copy Markdown
Owner

Adds a roadmap entry, "Unix times in milliseconds". The work waits for recordings:

  • Today: an integer date-time is read as Unix seconds only.
  • Where milliseconds appear:
    • go-api-libs/finnhub: the tick, NBBO and bid-ask timestamps ("List of timestamp in UNIX ms."), and the websocket's trade times;
    • go-api-libs/yahoo-finance: dateEpochMs and firstTradeDateMilliseconds.
  • Until recordings show their values, those fields stay integers, since a spec's types rest on recordings.
  • Then:
    • a custom format, date-time-ms, like date-basic, makes them a time.Time in milliseconds;
    • jsonutil gets helpers beside TimeMarshalIntUnix for the generator to use, in a body and a query parameter alike;
    • openapi-enrich must keep the format when a recording's integer meets it.

make ready passes.


Generated by Claude Code

To be done once recordings show the values of finnhub's and yahoo-finance's
millisecond timestamps: a date-time-ms format, read as a time.Time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QCb1AfnATvpBQCH3PrX7Y
@MarkRosemaker
MarkRosemaker merged commit 8d37259 into main Nov 25, 2026
1 check passed
@MarkRosemaker
MarkRosemaker deleted the chore/roadmap-unix-ms branch November 25, 2026 17:17
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