alpacahq / alpacahq/alpaca-trade-api-go
UpdatedAt time in stream.News API needs standard time format
Offen
- Vorherrschende Sprache
- Go
- Sterne
- 429
- Forks
- 118
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When streaming news, the time is in an arbitrary format, e.g.
`"CreatedAt":"2023-01-30T13:01:31+01:00","UpdatedAt":"2023-01-30T13:01:32+01:00"`
which cannot be simply unmarshaled into `stream.News` struct, where `CreatedAt` and `UpdatedAt` are `time.Time` structs. Could the time be standardized, so it's consistent with alpaca API? I think `time.Time` uses `RFC 3339` format.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.