pub async fn run_kline_pattern_statistics( gateway: &str, c2s_json: &str, output: OutputFormat, ) -> Result<()>