add UNIQUE for STOCKHISTORY