You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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, whereCreatedAt
andUpdatedAt
aretime.Time
structs. Could the time be standardized, so it's consistent with alpaca API? I thinktime.Time
usesRFC 3339
format.The text was updated successfully, but these errors were encountered: