All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.longport.quote.Candlestick Maven / Gradle / Ivy

There is a newer version: 2.1.5
Show newest version
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