|
|
@@ -30,7 +30,7 @@ async fn main() {
|
|
|
let start_at = NaiveDateTime::parse_from_str(&config.range_time[0].clone(), "%Y-%m-%d %H:%M:%S").unwrap().timestamp() - 8 * 3600;
|
|
|
let end_at = NaiveDateTime::parse_from_str(&config.range_time[1].clone(), "%Y-%m-%d %H:%M:%S").unwrap().timestamp() - 8 * 3600;
|
|
|
|
|
|
- let recall_start_at = start_at - config.recall_time;
|
|
|
+ let recall_start_at = start_at - config.recall_time / 1000;
|
|
|
|
|
|
let mut exchange_list = vec![];
|
|
|
for exchange in config.exchanges.clone() {
|