def _adjust(df, removeOrig=False):
    """
  _adjustust hist data based on adj_close field
    """
    c = df['close'] / df['adj_close']
    df['adj_open'] = df['open'] / c
    df['adj_high'] = df['high'] / c
    df['adj_low'] = df['low'] / c
    if removeOrig:
        df = df.drop(['open', 'close', 'high', 'low'], axis=1)
        renames = dict(list(zip(['adj_open', 'adj_close', 'adj_high',
            'adj_low'], ['open', 'close', 'high', 'low'])))
        df = df.rename(columns=renames)
    return df
