|
|
@@ -40,9 +40,9 @@ pub async fn run_listener(is_shutdown_arc: Arc<AtomicBool>) {
|
|
|
let mut mul_map = MUL_MAP.lock().await;
|
|
|
for symbol_info in symbol_infos {
|
|
|
let trade_status = symbol_info["trade_status"].as_str().unwrap();
|
|
|
- // let quote = symbol_info["quote"].as_str().unwrap();
|
|
|
- // if trade_status != "tradable" || quote == "USDT" { continue; };
|
|
|
- if trade_status != "tradable" { continue; };
|
|
|
+ let quote = symbol_info["quote"].as_str().unwrap();
|
|
|
+ if trade_status != "tradable" || quote == "USDT" { continue; };
|
|
|
+ // if trade_status != "tradable" { continue; };
|
|
|
// quanto_multiplier是ct_val
|
|
|
let symbol = symbol_info["id"].as_str().unwrap().to_string();
|
|
|
mul_map.insert(symbol.clone(), Decimal::ONE);
|