Skip to main content

Volume

Type Alias Volume 

Source
pub type Volume = f64;
Expand description

A traded volume represented by the provider as a JSON number.

The provider documents volume as a non-negative integer, but it sends a JSON integer or, intermittently, a fractional number (20201922.82733 was observed on quote-short), so the type is f64 and the SDK accepts any JSON number without enforcing a sign or integrality. Response fields re-encode an integral value as a JSON integer through the crate’s integral_f64 serde codec; the screener volume filters stay u64.