Skip to main content

sort_chronological

Function sort_chronological 

Source
pub fn sort_chronological(candles: Vec<Candle>) -> Vec<Candle>
Expand description

Sort candles by time ascending. Stable — preserves order for candles with identical timestamps (rare, but exchange ticks sometimes coincide).