Keeping risks in check in equity investment and financing