com.longport.quote.Candlestick 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 Candlestick {
private BigDecimal close;
private BigDecimal open;
private BigDecimal low;
private BigDecimal high;
private long volume;
private BigDecimal turnover;
private OffsetDateTime timestamp;
public BigDecimal getClose() {
return close;
}
public BigDecimal getOpen() {
return open;
}
public BigDecimal getLow() {
return low;
}
public BigDecimal getHigh() {
return high;
}
public long getVolume() {
return volume;
}
public BigDecimal getTurnover() {
return turnover;
}
public OffsetDateTime getTimestamp() {
return timestamp;
}
@Override
public String toString() {
return "Candlestick [close=" + close + ", high=" + high + ", low=" + low + ", open=" + open + ", timestamp="
+ timestamp + ", turnover=" + turnover + ", volume=" + volume + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy