Skip to content

aetelier_types::utils

General utilities Utility functions for market data processing.

Provides timestamp formatting, decimal conversion, and normalization of exchange-specific side and symbol representations.

Skeleton API reference

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

Functions

Item Summary
current_timestamp_ms Get the current system timestamp in Unix milliseconds.
decimal_to_f64 Convert a Rust Decimal to f64, returning 0.0 on failure.
format_ts Format a timestamp in nanoseconds to RFC 3339 with nanosecond precision.
normalize_side Normalize a trade/liquidation side string to a crate::trades::TradeSide variant.
normalize_symbol Normalize a trading pair symbol to lowercase, separator-free format.