mirror of
https://github.com/robertmartin8/PyPortfolioOpt.git
synced 2022-11-27 18:02:41 +03:00
Merge pull request #235 from shlomikushchi/patch-1
Doc fix in `add_sector_constraints` - missing "
This commit is contained in:
@@ -294,7 +294,7 @@ class BaseConvexOptimizer(BaseOptimizer):
|
||||
sector_lower = {"tech": 0.1} # at least 10% to tech
|
||||
sector_upper = {
|
||||
"tech": 0.4, # less than 40% tech
|
||||
"Oil/Gas: 0.1 # less than 10% oil and gas
|
||||
"Oil/Gas": 0.1 # less than 10% oil and gas
|
||||
}
|
||||
|
||||
:param sector_mapper: dict that maps tickers to sectors
|
||||
|
||||
Reference in New Issue
Block a user