Skip to main content

Prime WebSocket Types

Timestamps

event_time

2014-11-06T10:34:47.123456Z

The event_time field from the Prime Websocket API is returned in ISO 8601 with microseconds. Make sure you can parse the following ISO 8601 format. Most modern languages and libraries handle this without issues.

timestamp

2016-01-19T15:32:32.123456789Z

The timestamp field from the Prime Websocket API is returned in RFC3339Nano format. This format usually has nanosecond precision, but if trailing zeros are present, they are removed.

2016-01-19T15:32:32.123456700Z becomes 2016-01-19T15:32:32.1234567Z

Was this helpful?