hl 1 anno fa
parent
commit
1f636465d3
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      exchanges/src/phemex_swap_rest.rs

+ 2 - 4
exchanges/src/phemex_swap_rest.rs

@@ -89,10 +89,8 @@ impl PhemexSwapRest {
     }
 
     //持仓(查询交易账户和仓位)
-    pub async fn get_account_and_positions(&mut self) -> ResponseData {
-        let params = json!({
-            "currency":"USDT"
-        });
+    pub async fn get_account_and_positions(&mut self,params:Value) -> ResponseData {
+
         let data = self.request("GET".to_string(),
                                 "".to_string(),
                                 "/g-accounts/accountPositions".to_string(),