
org.knowm.xchange.okex.dto.trade.OkexOrderRequest Maven / Gradle / Ivy
package org.knowm.xchange.okex.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
/* Author: Max Gao ([email protected]) Created: 09-06-2021 */
/** ... * */
@Builder
public class OkexOrderRequest {
@JsonProperty("instId")
private String instrumentId;
@JsonProperty("tdMode")
private String tradeMode;
@JsonProperty("ccy")
private String marginCurrency;
@JsonProperty("clOrdId")
private String clientOrderId;
@JsonProperty("tag")
private String tag;
@JsonProperty("side")
private String side;
@JsonProperty("posSide")
private String posSide;
@JsonProperty("ordType")
private String orderType;
@JsonProperty("sz")
private String amount;
@JsonProperty("px")
private String price;
@JsonProperty("reduceOnly")
private boolean reducePosition;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy