Skip to main content

brokapi_bcs_protocol/utils/
mod.rs

1//! Helpers that are not tied to one endpoint.
2//!
3//! * [`date_format`]: the date-time text format of the API, for `#[serde(with = ...)]`.
4//! * [`precision`]: price and quantity arithmetic in whole steps, free of binary rounding noise.
5//! * [`rate_limiter`]: a token-bucket limiter to stay below the broker's request limits.
6
7pub mod date_format;
8pub mod precision;
9pub mod rate_limiter;