|
|
@@ -0,0 +1,27 @@
|
|
|
+// use std::collections::BTreeMap;
|
|
|
+// use std::sync::Arc;
|
|
|
+// use std::sync::atomic::AtomicBool;
|
|
|
+// use rust_decimal::Decimal;
|
|
|
+// use tokio::sync::Mutex;
|
|
|
+// use exchanges::response_base::ResponseData;
|
|
|
+// use crate::quant::Quant;
|
|
|
+
|
|
|
+// pub async fn okex_swap_run(bool_v1: Arc<AtomicBool>,
|
|
|
+// is_trade: bool,
|
|
|
+// quant_arc: Arc<Mutex<Quant>>,
|
|
|
+// name: String,
|
|
|
+// symbols: Vec<String>,
|
|
|
+// is_colo: bool,
|
|
|
+// exchange_params: BTreeMap<String, String>) {
|
|
|
+//
|
|
|
+// }
|
|
|
+//
|
|
|
+// async fn on_data(bot_arc_clone: Arc<Mutex<Quant>>,
|
|
|
+// update_flag_u: &mut Decimal,
|
|
|
+// multiplier: Decimal,
|
|
|
+// run_symbol: String,
|
|
|
+// max_buy: &mut Decimal,
|
|
|
+// min_sell: &mut Decimal,
|
|
|
+// data: ResponseData) {
|
|
|
+//
|
|
|
+// }
|