Python classes/methods related to investment finance risk management and asset management