|
|
@@ -38,8 +38,9 @@ pub async fn run_listener(is_shutdown_arc: Arc<AtomicBool>) {
|
|
|
let symbol_infos = response.data.as_array().unwrap();
|
|
|
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; };
|
|
|
+ // let quote = symbol_info["quote"].as_str().unwrap();
|
|
|
+ // if trade_status != "tradable" || quote == "USDT" { continue; };
|
|
|
+ if trade_status != "tradable" { continue; };
|
|
|
let symbol = symbol_info["id"].as_str().unwrap().to_string();
|
|
|
symbols.push(symbol)
|
|
|
}
|