I just read, "Speculation in 17th century Britain was a crime." Is this accurate, and if so, what was the reasoning?

by Elliptical_Tangent
Akerlof

What was the context? Was it financial speculation, like short selling or making futures contracts? Or was it in some other context?