The legislation aims to prevent bets made based on insider knowledge of wars, economic policy and controllable events.