Buying stocks is halal, provided that the activities of the companies whose stocks are being bought are halal, so that their activities are not usurious, or trading in alcohol or haram meat, and the like. As for companies dealing in gold and silver, buying stocks is permissible.
1/5 of the capital has to be paid initially, before starting business. There after, you need to pay the 1/5 of the annual net profit made.