Spaces:
Sleeping
Sleeping
shyam gupta
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -47,41 +47,24 @@ Mean-Variance Portfolio Optimization is a widely used method in finance for cons
|
|
47 |
Methodology
|
48 |
1. Basic Concepts
|
49 |
|
50 |
-
Expected Return
|
51 |
-
Risk (Variance
|
52 |
-
|
53 |
-
2. Mathematical Formulation
|
54 |
-
|
55 |
-
The basic idea is to find the optimal weights wiwi for each asset in the portfolio to maximize the expected portfolio return μpμp while minimizing the portfolio variance σp2σp2. This can be expressed mathematically as:
|
56 |
-
|
57 |
-
```bash
|
58 |
-
Maximize: μ_p = ∑(w_i * μ_i)
|
59 |
-
Subject to: ∑w_i = 1
|
60 |
-
Minimize: σ_p^2 = ∑(∑(w_i * w_j * σ_ij))
|
61 |
-
|
62 |
-
|
63 |
-
where:
|
64 |
-
NN is the number of assets in the portfolio.
|
65 |
-
μiμi is the expected return of asset ii.
|
66 |
-
σijσij is the covariance between the returns of assets ii and jj.
|
67 |
|
68 |
3. Optimization Algorithm
|
69 |
|
70 |
Our implementation utilizes the following steps:
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
Convergence Criteria: The algorithm iterates over a specified number of iterations (e.g., 5000) or until convergence is achieved.
|
76 |
|
77 |
4. Implementation
|
78 |
|
79 |
In our project, we have implemented the Mean-Variance Portfolio Optimization method with 5000 iterations. The process involves:
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
Output: The final set of weights that represent the optimal portfolio allocation.
|
85 |
|
86 |
|
87 |
#### Contributing
|
|
|
47 |
Methodology
|
48 |
1. Basic Concepts
|
49 |
|
50 |
+
Expected Return: The anticipated gain or loss from an investment, based on historical data or other factors.
|
51 |
+
Risk (Variance): A measure of the dispersion of returns. In portfolio optimization, we seek to minimize the variance of the portfolio returns.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
3. Optimization Algorithm
|
54 |
|
55 |
Our implementation utilizes the following steps:
|
56 |
+
Input Data: Historical returns for each asset in the portfolio.
|
57 |
+
Objective Function: Construct an objective function that combines the expected return and variance.
|
58 |
+
Optimization Algorithm: We employ a mean-variance optimization algorithm that iteratively adjusts the weights to find the optimal combination.
|
59 |
+
Convergence Criteria: The algorithm iterates over a specified number of iterations (e.g., 5000) or until convergence is achieved.
|
|
|
60 |
|
61 |
4. Implementation
|
62 |
|
63 |
In our project, we have implemented the Mean-Variance Portfolio Optimization method with 5000 iterations. The process involves:
|
64 |
+
Input: Historical return data for each equity in the Indian market.
|
65 |
+
Objective: Maximize expected return while minimizing portfolio variance.
|
66 |
+
Optimization: Utilize an iterative approach, adjusting weights to find the optimal allocation.
|
67 |
+
Output: The final set of weights that represent the optimal portfolio allocation.
|
|
|
68 |
|
69 |
|
70 |
#### Contributing
|