The present invention provided a polymer and a method for preparing the polymer, wherein the polymer was a terpolymer having a molecular weight of more than 1000, and copolymerized by acrolein, acrylic acid, and low alkene-alkyl dibasic acid or low-alkene-alkyl polybasic acid.