
org.knowm.xchange.binance.dto.trade.BinanceNewOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-binance Show documentation
Show all versions of xchange-binance Show documentation
Development fork. Not for general use.
The newest version!
package org.knowm.xchange.binance.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
public final class BinanceNewOrder {
public final String symbol;
public final long orderId;
public final String clientOrderId;
public final long transactTime;
public final BigDecimal price;
public final BigDecimal origQty;
public final BigDecimal executedQty;
public final OrderStatus status;
public final TimeInForce timeInForce;
public final OrderType type;
public final OrderSide side;
public BinanceNewOrder(
@JsonProperty("symbol") String symbol,
@JsonProperty("orderId") long orderId,
@JsonProperty("clientOrderId") String clientOrderId,
@JsonProperty("transactTime") long transactTime,
@JsonProperty("price") BigDecimal price,
@JsonProperty("origQty") BigDecimal origQty,
@JsonProperty("executedQty") BigDecimal executedQty,
@JsonProperty("status") OrderStatus status,
@JsonProperty("timeInForce") TimeInForce timeInForce,
@JsonProperty("type") OrderType type,
@JsonProperty("side") OrderSide side) {
super();
this.symbol = symbol;
this.orderId = orderId;
this.clientOrderId = clientOrderId;
this.transactTime = transactTime;
this.price = price;
this.origQty = origQty;
this.executedQty = executedQty;
this.status = status;
this.timeInForce = timeInForce;
this.type = type;
this.side = side;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy