Comment on Basics on Options Shorting/Writing
The Margins are computed on a daily basis considering factors like change in underlying, volatility, time left for expiration. As these factors keep changing, margins also change accordingly. The Exchanges compute margins using a system called SPAN (Standard Portfolio Analysis of Risk) developed by Chicago Mercantile Exchange (CME).