pub fn candle_point_from_bytes( symbol_id: u32, timeframe: String, volume_scale: u32, ) -> impl Fn(&[u8]) -> Result<Candle> + Send + Sync + 'static