gepangpang hace 1 año
padre
commit
28091a8f2a
Se han modificado 1 ficheros con 1 adiciones y 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 };