| | |
| | | .apiKey(primaryAccount.getApiKey()) |
| | | .secretKey(primaryAccount.getSecretKey()) |
| | | .passphrase(primaryAccount.getPassphrase()) |
| | | .instId("BTC-USDT-SWAP") |
| | | .instId("ETH-USDT-SWAP") |
| | | .leverage("100") |
| | | .tdMode("cross") |
| | | .gridRate(new BigDecimal("0.001")) |
| | | .expectedProfit(new BigDecimal("200")) |
| | | .gridRate(new BigDecimal("0.002")) |
| | | .expectedProfit(new BigDecimal("180")) |
| | | .maxLoss(new BigDecimal("30")) |
| | | .quantity("1") |
| | | .baseQuantity("10") |
| | | .quantity("5") |
| | | .baseQuantity("50") |
| | | .priceScale(2) |
| | | .ctVal(new BigDecimal("0.01")) |
| | | .isSimulate(!primaryAccount.isAccountType()) |