|
|
@@ -10,6 +10,7 @@ use crate::bitget_usdt_swap::{bitget_swap_run, reference_bitget_swap_run};
|
|
|
use crate::coinex_usdt_swap::coinex_swap_run;
|
|
|
use crate::gate_usdt_swap::gate_swap_run;
|
|
|
use crate::core::Core;
|
|
|
+use crate::mexc_usdt_swap::{mexc_swap_run, reference_mexc_swap_run};
|
|
|
|
|
|
// 交易交易所启动
|
|
|
pub async fn run_transactional_exchange(is_shutdown_arc :Arc<AtomicBool>,
|
|
|
@@ -27,7 +28,7 @@ pub async fn run_transactional_exchange(is_shutdown_arc :Arc<AtomicBool>,
|
|
|
gate_swap_run(is_shutdown_arc, true, core_arc, name, symbols, is_colo, exchange_params).await;
|
|
|
}
|
|
|
"mexc_usdt_swap" => {
|
|
|
-
|
|
|
+ mexc_swap_run(is_shutdown_arc, core_arc, name, symbols, is_colo, exchange_params).await;
|
|
|
}
|
|
|
// "kucoin_usdt_swap" => {
|
|
|
// kucoin_swap_run(is_shutdown_arc, true, core_arc, name, symbols, is_colo, exchange_params).await;
|
|
|
@@ -75,6 +76,9 @@ pub async fn run_reference_exchange(is_shutdown_arc: Arc<AtomicBool>,
|
|
|
"gate_usdt_swap" => {
|
|
|
gate_swap_run(is_shutdown_arc, false, core_arc, name, symbols, is_colo, exchange_params).await;
|
|
|
},
|
|
|
+ "mexc_usdt_swap" => {
|
|
|
+ reference_mexc_swap_run(is_shutdown_arc, core_arc, name, symbols, is_colo).await;
|
|
|
+ },
|
|
|
// "okex_usdt_swap" => {
|
|
|
// okex_swap_run(is_shutdown_arc, false, core_arc, name, symbols, is_colo, exchange_params).await;
|
|
|
// },
|