Skip to main content

bucket_side

Function bucket_side 

Source
pub fn bucket_side(
    book: &BookSide,
    bucket_ticks: i64,
    asks: bool,
) -> Result<BookSide>
Expand description

Aggregate levels into executable-side-safe price buckets.

Bids round down; asks round up so displayed asks never appear below their executable price.