|
|
@@ -1,5 +1,5 @@
|
|
|
use std::collections::BTreeMap;
|
|
|
-use exchanges::gate_swap_rest::GateUsdtSwapRest;
|
|
|
+use exchanges::gate_swap_rest::GateSwapRest;
|
|
|
|
|
|
#[tokio::test]
|
|
|
async fn test_import() {
|
|
|
@@ -10,7 +10,7 @@ use exchanges::gate_swap_rest::GateUsdtSwapRest;
|
|
|
// btree_map.insert("access_key".to_string(), "dbefbc809e3e83c283a984c3a1459732ea7db1360ca80c5c2c8867408d28cc83".to_string());
|
|
|
// btree_map.insert("secret_key".to_string(), "2b5eb11e18796d12d88f13dc27dbbd02c2cc51ff7059765ed9821957d82bb4d9".to_string());
|
|
|
|
|
|
- let gate_exc = GateUsdtSwapRest::new(false, true, btree_map);
|
|
|
+ let gate_exc = GateSwapRest::new(false, true, btree_map);
|
|
|
// let req_data = gate_exc.get_account("usdt".to_string()).await;
|
|
|
// println!("gate-rest -账户信息{:?}", req_data);
|
|
|
// let req_data = gate_exc.get_position("usdt".to_string(), "BTC_USDT".to_string()).await;
|