com.longport.quote.SecurityQuote 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.quote;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
public class SecurityQuote {
private String symbol;
private BigDecimal lastDone;
private BigDecimal prevClose;
private BigDecimal open;
private BigDecimal high;
private BigDecimal low;
private OffsetDateTime timestamp;
private long volume;
private BigDecimal turnover;
private TradeStatus tradeStatus;
private PrePostQuote preMarketQuote;
private PrePostQuote postMarketQuote;
public String getSymbol() {
return symbol;
}
public BigDecimal getLastDone() {
return lastDone;
}
public BigDecimal getPrevClose() {
return prevClose;
}
public BigDecimal getOpen() {
return open;
}
public BigDecimal getHigh() {
return high;
}
public BigDecimal getLow() {
return low;
}
public OffsetDateTime getTimestamp() {
return timestamp;
}
public long getVolume() {
return volume;
}
public BigDecimal getTurnover() {
return turnover;
}
public TradeStatus getTradeStatus() {
return tradeStatus;
}
public PrePostQuote getPreMarketQuote() {
return preMarketQuote;
}
public PrePostQuote getPostMarketQuote() {
return postMarketQuote;
}
@Override
public String toString() {
return "SecurityQuote [high=" + high + ", lastDone=" + lastDone + ", low=" + low + ", open=" + open
+ ", postMarketQuote=" + postMarketQuote + ", preMarketQuote=" + preMarketQuote + ", prevClose="
+ prevClose + ", symbol=" + symbol + ", timestamp=" + timestamp + ", tradeStatus=" + tradeStatus
+ ", turnover=" + turnover + ", volume=" + volume + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy