For collateral margins, the haircuts are applied as prescribed by the Clearing Corporation and exchanges. When the Clearing Corporation publishes the list of approved securities, they also included the haircut values for those securities. You can download this list form the exchange website here (Revised list of Approved Securities and Approved Banks).
For buying shares for delivery we ask 100% margin as there is risk of overnight events. Also, as settlement happens on the next day itself, the broker is required to pay 100% of the purchase money to the stock exchange to receive the stocks.
Currently we do not allow MTF (Margin Trade Funding), which allows one to buy and hold stocks overnight with funding from the broker. This is on our list of things to do.