|
|
@@ -112,7 +112,6 @@ pub async fn export_ticker(symbol: &str, exchange: &str, time_str: &str, time_in
|
|
|
"to": end_at_ti,
|
|
|
"limit": "1000"
|
|
|
});
|
|
|
- get(url, params.to_string(), None).await;
|
|
|
let res_data = get(url, params.to_string(), None).await;
|
|
|
if res_data.code == "200" {
|
|
|
let res_data_str = res_data.data;
|
|
|
@@ -176,10 +175,10 @@ pub async fn export_ticker(symbol: &str, exchange: &str, time_str: &str, time_in
|
|
|
for d in data.clone() {
|
|
|
str_array.push(" - ");
|
|
|
// ti_str.push(d.clone());
|
|
|
- info!("数据: {:?} ",d);
|
|
|
+ // info!("数据: {:?} ",d);
|
|
|
}
|
|
|
|
|
|
- info!("数据总数: {:?}: {:?}",time_str,str_array);
|
|
|
+ // info!("数据总数: {:?}: {:?}",time_str,str_array);
|
|
|
|
|
|
|
|
|
let mut def: Vec<Value> = vec![];
|