Browse Source

新交易所htx的rest 部分完成

hl 1 year ago
parent
commit
2de72e5c12
1 changed files with 2 additions and 2 deletions
  1. 2 2
      exchanges/src/htx_swap_rest.rs

+ 2 - 2
exchanges/src/htx_swap_rest.rs

@@ -82,12 +82,12 @@ impl HtxSwapRest {
         data
     }
 
-    //查询合约账户(【全仓】获取用户账户信息)
+    //查询合约账户 (【全仓】获取用户账户信息)
     pub async fn get_account(&mut self,params: Value) -> ResponseData {
 
         let data = self.request("POST".to_string(),
                                 "/linear-swap-api/v1".to_string(),
-                                format!("/swap_balance_valuation"),
+                                format!("/swap_cross_account_info"),
                                 true,
                                 params,
         ).await;