Sfoglia il codice sorgente

修改kucoin下单参数

gepangpang 2 anni fa
parent
commit
eb2ed5d5ff
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      standard/src/kucoin_swap.rs

+ 0 - 2
standard/src/kucoin_swap.rs

@@ -250,14 +250,12 @@ impl Platform for KucoinSwap {
             }
             "pd" => {
                 params["side"] = json!("sell");
-                params["reduceOnly"] = json!(true);
             }
             "kk" => {
                 params["side"] = json!("sell");
             }
             "pk" => {
                 params["side"] = json!("buy");
-                params["reduceOnly"] = json!(true);
             }
             _ => { error!("下单参数错误"); }
         };