How much money is required for buying and selling order?
The amount needed depends on your current position in the underlying:
For buying an option: Calculate as quantity * premium.
For selling an option: Calculate as SPAN + Exposure + Additional margin required by the exchange
Regulatory charges and brokerage will also be required upfront.