Module timestamp

Module timestamp 

Source
Expand description

Universal timestamp normalization utilities

This module provides centralized timestamp handling to ensure all aggTrade data uses consistent 16-digit microsecond precision regardless of source format.

Functionsยง

create_aggtrade_with_normalized_timestamp
Create a normalized AggTrade with automatic timestamp conversion
normalize_timestamp
Normalize any timestamp to 16-digit microseconds
validate_timestamp
Validate timestamp is in expected microsecond range