Do I need to install a fence around an above-ground pool?

No. Provided that the sides of the pool is a solid structure (not the vinyl inflatable type) and the walls are at least 48 inches in height above the ground.