| | |
| | | public Builder contractMultiplier(BigDecimal contractMultiplier) { this.contractMultiplier = contractMultiplier; return this; } |
| | | /** 设置价格精度(交易所价格的小数位数,如 1=0.1精度,2=0.01精度) */ |
| | | public Builder priceScale(int priceScale) { this.priceScale = priceScale; return this; } |
| | | /** 设置保证金占初始本金比例上限 */ |
| | | public Builder marginRatioLimit(BigDecimal marginRatioLimit) { this.marginRatioLimit = marginRatioLimit; return this; } |
| | | /** 设置网格队列容量 */ |
| | | public Builder gridQueueSize(int gridQueueSize) { this.gridQueueSize = gridQueueSize; return this; } |
| | | /** 设置未实现盈亏计价模式 */ |
| | | public Builder unrealizedPnlPriceMode(PnLPriceMode mode) { this.unrealizedPnlPriceMode = mode; return this; } |
| | | |