alpacahq / alpacahq/alpaca-trade-api-go
UpdatedAt time in stream.News API needs standard time format
Ouverte
- Langage dominant
- Go
- Étoiles
- 429
- Forks
- 118
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.