com.longport.trade.Execution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-sdk Show documentation
Show all versions of openapi-sdk Show documentation
LongPort OpenAPI SDK for Java
package com.longport.trade;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
public class Execution {
private String orderId;
private String tradeId;
private String symbol;
private OffsetDateTime tradeDoneAt;
private long quantity;
private BigDecimal price;
public String getOrderId() {
return orderId;
}
public String getTradeId() {
return tradeId;
}
public String getSymbol() {
return symbol;
}
public OffsetDateTime getTradeDoneAt() {
return tradeDoneAt;
}
public long getQuantity() {
return quantity;
}
public BigDecimal getPrice() {
return price;
}
@Override
public String toString() {
return "Execution [orderId=" + orderId + ", price=" + price + ", quantity=" + quantity + ", symbol=" + symbol
+ ", tradeDoneAt=" + tradeDoneAt + ", tradeId=" + tradeId + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy