|
|
@@ -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 };
|