Skip to content

aetelier_types::temporal::resolutions

Timestamp resolution conversions. Temporal validation utilities for timestamp sequences.

Orderbook timestamps are in nanoseconds, trade timestamps in milliseconds, and other datasets might be in microseconds or seconds. This module provides a canonical representation (nanoseconds) and conversion utilities to normalize heterogeneous timestamp sources.

Skeleton API reference

This page lists the public items in aetelier_types::temporal::resolutions with a one-line summary each. Signatures and source live in the SDK repository.

Enums

Item Summary
TimeResolution Supported temporal resolutions for timestamp data.

Functions

Item Summary
from_micros Convert a microsecond timestamp to the target resolution as f64.
from_nanos Convert a nanosecond timestamp to the target resolution as f64.
to_nanos Convert a timestamp from the given resolution to nanoseconds.

Constants

Item Summary
NS_PER_MS Nanoseconds per millisecond.
NS_PER_S Nanoseconds per second.
NS_PER_US Nanoseconds per microsecond.