public Index(Index index) {
        this.close_val = index.getClose_val();
        this.day = index.getDay();
        this.hour = index.getHour();
        this.max_val = index.getMax_val();
        this.min_val = index.getMin_val();
        this.name = index.getName();
        this.open_val = index.getOpen_val();
        this.symbol = index.getSymbol();
        this.vol_val = index.getVol_val();
    }