
estonlabs.cxtl.exchanges.bullish.api.v2.domain.BullishTrade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxtl Show documentation
Show all versions of cxtl Show documentation
CXTL – Crypto eXchange Trading Library
package estonlabs.cxtl.exchanges.bullish.api.v2.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Getter;
import lombok.ToString;
import estonlabs.cxtl.exchanges.a.specification.domain.Trade;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonPropertyOrder({
"tradeId",
"symbol",
"price",
"quantity",
"quoteAmount",
"baseFee",
"quoteFee",
"side",
"isTaker",
"createdAtTimestamp",
"createdAtDatetime",
"publishedAtTimestamp"
})
@Getter
@ToString
public class BullishTrade implements Trade{
@JsonProperty("tradeId")
private String tradeId;
@JsonProperty("orderId")
private String orderId;
@JsonProperty("symbol")
private String symbol;
@JsonProperty("price")
private double price;
@JsonProperty("quantity")
private double quantity;
@JsonProperty("quoteAmount")
private double quoteAmount;
@JsonProperty("baseFee")
private double baseFee;
@JsonProperty("quoteFee")
private double quoteFee;
@JsonProperty("side")
private String side;
@JsonProperty("isTaker")
private boolean isTaker;
@JsonProperty("createdAtTimestamp")
private String createdAtTimestamp;
@JsonProperty("createdAtDatetime")
private String createdAtDatetime;
@JsonProperty("publishedAtTimestamp")
private String publishedAtTimestamp;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy