Administrator
3 days ago b72f338db8e323b412b794eecc7a0460943b3e4b
src/main/java/com/xcong/excoin/modules/gateApi/Example.java
@@ -51,16 +51,15 @@
            }
            /**
             * 设置杠杆倍数
             * 设置杠杆倍数(双向持仓模式专用)
             * 设置合理的杠杆倍数,不能为0
             */
            String leverage = "25";
            futuresApi.updateContractPositionLeverageCall(
            futuresApi.updateDualModePositionLeverageCall(
                    settle,
                    contract,
                    leverage,
                    marginMode,
                    position_mode,
                    null);
        } catch (GateApiException e) {
            System.err.println(String.format("Gate api exception, label: %s, message: %s", e.getErrorLabel(), e.getMessage()));