com.xeiam.xchange.mexbt.dto.trade.MeXBTOrderCreateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-mexbt Show documentation
Show all versions of xchange-mexbt Show documentation
XChange implementation for the Mexican Bitcoin Exchange.
The newest version!
package com.xeiam.xchange.mexbt.dto.trade;
import java.math.BigDecimal;
import com.xeiam.xchange.mexbt.dto.MeXBTInsRequest;
import com.xeiam.xchange.mexbt.service.MeXBTDigest;
import si.mazi.rescu.SynchronizedValueFactory;
public class MeXBTOrderCreateRequest extends MeXBTInsRequest {
private final String side;
private final int orderType;
private final BigDecimal qty;
private final BigDecimal px;
public MeXBTOrderCreateRequest(String apiKey, SynchronizedValueFactory nonceFactory, MeXBTDigest meXBTDigest, String ins, String side,
int orderType, BigDecimal qty, BigDecimal px) {
super(apiKey, nonceFactory, meXBTDigest, ins);
this.side = side;
this.orderType = orderType;
this.qty = qty;
this.px = px;
}
public String getSide() {
return side;
}
public int getOrderType() {
return orderType;
}
public BigDecimal getQty() {
return qty;
}
public BigDecimal getPx() {
return px;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy