A simple tool helping you to calculate your portfolio rebalancing.
Project description
Investment Rebalancer
Overview
investment-rebalancer is a terminal application that helps one to rebalance one's portfolio. A configuration is used to define the classifications into which you want to divide your portfolio (e.g. regions, factor investing, core/satellite).
Example configurations
70/30 portfolio
This example describes a classic 70/30 portfolio. The portfolio is invested 70% in developed markets and 30% in emerging markets. In this example, the two ETFs Lyxor Core MSCI World and Lyxor MSCI Emerging Markets were chosen as investments.
{
"classifications": {
"Regions": {
"Developed World": {
"target_allocation": 70.0,
"assets": ["LU1781541179"]
},
"Emerging Markets": {
"target_allocation": 30.0,
"assets": ["LU0635178014"]
}
}
},
"etf": {
"LU1781541179": {
"name": "Lyxor Core MSCI World",
"enabled": true,
"quantity": 100,
"ter": 0.12
},
"LU0635178014": {
"name": "Lyxor MSCI Emerging Markets",
"enabled": true,
"quantity": 50,
"ter": 0.14
}
}
}
70/30 portfolio with small caps
This example is an extension to the above 70/30 portfolio. Again, 70% of the capital is allocated to developed markets and 30% to emerging markets. In addition to the already existing classification Regions, there is now also a classification Factor. 15% of the capital is supposed to be invested with the factor small caps. The remaining 85% should be invested in large and mid caps. In addition the two ETFs iShares MSCI World Small Cap and SPDR MSCI Emerging Markets Small Cap were selected for this example.
{
"classifications": {
"Regions": {
"Developed World": {
"target_allocation": 70.0,
"assets": ["LU1781541179", "IE00BF4RFH31"]
},
"Emerging Markets": {
"target_allocation": 30.0,
"assets": ["LU0635178014", "IE00B48X4842"]
}
},
"Factor": {
"Large Cap": {
"target_allocation": 85.0,
"assets": ["LU1781541179", "LU0635178014"]
},
"Small Cap": {
"target_allocation": 15.0,
"assets": ["IE00BF4RFH31", "IE00B48X4842"]
}
}
},
"etf": {
"LU1781541179": {
"name": "Lyxor Core MSCI World",
"enabled": true,
"quantity": 200,
"ter": 0.12
},
"LU0635178014": {
"name": "Lyxor MSCI Emerging Markets",
"enabled": true,
"quantity": 50,
"ter": 0.14
},
"IE00BF4RFH31": {
"name": "iShares MSCI World Small Cap",
"enabled": true,
"quantity": 65,
"ter": 0.35
},
"IE00B48X4842": {
"name": "SPDR MSCI Emerging Markets Small Cap",
"enabled": true,
"quantity": 2,
"ter": 0.55
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for investment_rebalancer-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d7f5f5e7088376f09b2084e36827868022fe2e68a0d6d70380c0b48293ab23d |
|
MD5 | 46d2a51aa053e1fd7479a0b28d3aef5b |
|
BLAKE2b-256 | 2ccc8b7c9cf1705787b336e0825e424d945c704c647e1e65be4d7d928092ba84 |
Hashes for investment_rebalancer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb38c50a53925d1955d3b18931957408ffff968e22132738a1d0a3b19751714 |
|
MD5 | 44c77f9870bf3b34101080a435c613e2 |
|
BLAKE2b-256 | 9e7c31185dbb2a5285b2e7bdb953d6cb61f0b93255182f17f378bf9136ca12c5 |