Administrator
12 hours ago 12277057a29fff9476a920426d0197caebb46ce7
config(gateApi): 更新Gate API配置参数

- 替换API密钥和密钥为新的凭证
- 将网格费率从0.0035调整为0.0025
- 将预期利润从2.5调整为0.3
- 将基础数量从9调整为2
- 将数量从3调整为2
- 将最大仓位大小从2增加到4
1 files modified
14 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/gateApi/GateWebSocketClientManager.java 14 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateWebSocketClientManager.java
@@ -58,19 +58,19 @@
        try {
            //实盘
            config = GateConfig.builder()
                    .apiKey("a2338398e00b7935104520e16be96918")
                    .apiSecret("9111d897f2346d5217619f2da76536632715fef4d7eb304c6c61e869a2a74e98")
                    .apiKey("967fe9e50d589621a25d75618a85ba41")
                    .apiSecret("9d7a004a5d6b88b38fd6e21e323b0214c4f4e25db071ff45d479c76f0325aabe")
                    .contract("ETH_USDT")
                    .leverage("100")
                    .marginMode("CROSS")
                    .positionMode("dual")
                    .gridRate(new BigDecimal("0.0035"))
                    .expectedProfit(new BigDecimal("2.5"))
                    .gridRate(new BigDecimal("0.0025"))
                    .expectedProfit(new BigDecimal("0.3"))
                    .maxLoss(new BigDecimal("1.5"))
                    .baseQuantity("9")
                    .quantity("3")
                    .baseQuantity("2")
                    .quantity("2")
                    .maxPositionSize(4)
                    .restartGridSpan(2)
                    .maxPositionSize(2)
                    .priceScale(2)
                    .contractMultiplier(new BigDecimal("0.01"))
                    .unrealizedPnlPriceMode(GateConfig.PnLPriceMode.LAST_PRICE)