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

com.tecacet.finance.model.Quote Maven / Gradle / Ivy

Go to download

JFApi connects to various Web Services that provide financial data such as stock prices, splits, dividends, and FX rates.

There is a newer version: 1.1.3
Show newest version
package com.tecacet.finance.model;

import java.io.Serializable;
import java.time.LocalDate;

public class Quote implements Serializable {

    private LocalDate date;
    private double open;
    private double high;
    private double low;
    private double close;
    private long volume;
    private double adjustedClose;

    public LocalDate getDate() {
        return date;
    }

    public double getOpen() {
        return open;
    }

    public double getHigh() {
        return high;
    }

    public double getLow() {
        return low;
    }

    public double getClose() {
        return close;
    }

    public long getVolume() {
        return volume;
    }

    public double getAdjustedClose() {
        return adjustedClose;
    }

    @Override
    public String toString() {
        return String.format("%s %f %d", date.toString(), adjustedClose, volume);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy