Bhanu Prasanna commited on
Commit
9f6b7ef
β€’
1 Parent(s): 53a8285

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +78 -1
README.md CHANGED
@@ -8,4 +8,81 @@ pinned: false
8
  license: mit
9
  ---
10
 
11
- # Hello πŸ‘‹
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  license: mit
9
  ---
10
 
11
+ # <center>CapiPort V2</center>
12
+
13
+ # Portfolio Management for Indian Equity Markets
14
+ [![Build Status](https://github.com/bhanuprasanna527/CapiPortV2/actions/workflows/HF_sync_space.yml/badge.sv)](https://github.com/bhanuprasanna527/CapiPortV2/actions)
15
+
16
+
17
+ ## Overview
18
+
19
+ Welcome to our project on portfolio management for Indian equity markets! This project aims to help individuals efficiently allocate their money between different equities, optimizing returns while managing risk.
20
+
21
+ ## Features
22
+
23
+ - **Dynamic Allocation:** Our technique dynamically allocates funds among various equities based on a robust methodology.
24
+ - **Risk Management:** The project incorporates risk management strategies to enhance overall portfolio stability.
25
+ - **User-Friendly Interface:** Access the tool through our user-friendly web interface [here](https://huggingface.co/spaces/bhanuprasanna527/CapiPort).
26
+
27
+ ## Getting Started
28
+
29
+ Follow these steps to get started with the project:
30
+
31
+ 1. Clone the repository:
32
+
33
+ ```bash
34
+ git clone https://github.com/bhanuprasanna527/CapiPort/
35
+
36
+ 2. Install dependencies:
37
+ ```bash
38
+ pip install -r requirements.txt
39
+
40
+ 3. Run the project:
41
+ ```bash
42
+ python main.py
43
+
44
+ ## Technique used (Version 1)
45
+ ### Mean-Variance Portfolio Optimization
46
+ Overview
47
+
48
+ Mean-Variance Portfolio Optimization is a widely used method in finance for constructing an investment portfolio that maximizes expected return for a given level of risk, or equivalently minimizes risk for a given level of expected return. This approach was pioneered by Harry Markowitz and forms the foundation of Modern Portfolio Theory (MPT).
49
+ Methodology
50
+ 1. Basic Concepts
51
+
52
+ Expected Return: The anticipated gain or loss from an investment, based on historical data or other factors.
53
+
54
+ Risk (Variance): A measure of the dispersion of returns. In portfolio optimization, we seek to minimize the variance of the portfolio returns.
55
+
56
+ 3. Optimization Algorithm
57
+
58
+ Our implementation utilizes the following steps:
59
+
60
+ Input Data: Historical returns for each asset in the portfolio.
61
+
62
+ Objective Function: Construct an objective function that combines the expected return and variance.
63
+
64
+ Optimization Algorithm: We employ a mean-variance optimization algorithm that iteratively adjusts the weights to find the optimal combination.
65
+
66
+ Convergence Criteria: The algorithm iterates over a specified number of iterations (e.g., 5000) or until convergence is achieved.
67
+
68
+ 4. Implementation
69
+
70
+ In our project, we have implemented the Mean-Variance Portfolio Optimization method with 5000 iterations. The process involves:
71
+
72
+ Input: Historical return data for each equity in the Indian market.
73
+
74
+ Objective: Maximize expected return while minimizing portfolio variance.
75
+
76
+ Optimization: Utilize an iterative approach, adjusting weights to find the optimal allocation.
77
+
78
+ Output: The final set of weights that represent the optimal portfolio allocation.
79
+
80
+ #### Contributing
81
+ We welcome contributions! If you have any ideas for improvements, open an issue or submit a pull request.
82
+ License
83
+
84
+ This project is licensed under the MIT License.
85
+
86
+ ## Links
87
+ 1. **[Streamlit Deployment](https://capiport.streamlit.app/)**
88
+ 2. **[HuggingFace Spaces](https://huggingface.co/spaces/sankhyikii/CapiPort)**