package top.baogutang.strategy.models;

public class Signal {
    private final String id;
    private final long timestamp;
    private final String symbol;
    private final String strategy;
    private final String direction;
    private final double entryRef;
    private final double stopRef;
    private final double[] targets;
    private final String grade;
    private final String comment;

    public Signal(String id, long timestamp, String symbol, String strategy, String direction,
                  double entryRef, double stopRef, double[] targets, String grade, String comment) {
        this.id = id;
        this.timestamp = timestamp;
        this.symbol = symbol;
        this.strategy = strategy;
        this.direction = direction;
        this.entryRef = entryRef;
        this.stopRef = stopRef;
        this.targets = targets;
        this.grade = grade;
        this.comment = comment;
    }

    public String getId() {
        return id;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public String getSymbol() {
        return symbol;
    }

    public String getStrategy() {
        return strategy;
    }

    public String getDirection() {
        return direction;
    }

    public double getEntryRef() {
        return entryRef;
    }

    public double getStopRef() {
        return stopRef;
    }

    public double[] getTargets() {
        return targets;
    }

    public String getGrade() {
        return grade;
    }

    public String getComment() {
        return comment;
    }
}
