@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Quote)) return false;

        Quote quote = (Quote) o;

        if (Float.compare(quote.price, price) != 0) return false;
        if (timestamp != quote.timestamp) return false;
        if (symbol != quote.symbol) return false;

        return true;
    }