gepangpang hai 1 ano
pai
achega
28091a8f2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/export/html.rs

+ 1 - 1
src/export/html.rs

@@ -35,7 +35,7 @@ pub fn export_html(export_info: Vec<ExportExchangeTickerInfo>, start_at: &str, e
     let mut handlebars = Handlebars::new();
 
 
-    let mut max_price = Decimal::ONE;
+    let mut max_price = Decimal::ZERO;
     for item in export_info.clone() {
         let exchange_max_price = Decimal::from_str(&item.max_price).unwrap();
         max_price = if max_price < exchange_max_price { exchange_max_price } else { max_price };