Your Demat account does not have shares immediately. After allotment has been finalized, it usually takes a few days to transfer shares from your account.