Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 885 Bytes

README.md

File metadata and controls

42 lines (31 loc) · 885 Bytes

GA-for-Portfolio-Management

This program is a python implementation of a Genetic Algorithm. It returns a fair distribution of funds over certain avenues of investment according to the parameters input by the user.

Sample Input:

Enter avenue : Equity Enter avenue : Real Estate Enter avenue : Bonds Enter avenue : Mutual Funds Enter avenue : Uninvested

Enter Risk : 8 Enter Return : 8 Enter Liquidity : 5 Enter Complexity : 8

Enter Risk : 8 Enter Return : 6 Enter Liquidity : 3 Enter Complexity : 6

Enter Risk : 4 Enter Return : 5 Enter Liquidity : 6 Enter Complexity : 4

Enter Risk : 6 Enter Return : 8 Enter Liquidity : 4 Enter Complexity : 4

Enter Risk : 2 Enter Return : 1 Enter Liquidity : 7 Enter Complexity : 2

Sample Output:

[107.0, 34.0, 206.0, 92.0, 808.0]

alt text