Merge pull request #235 from shlomikushchi/patch-1

Doc fix in `add_sector_constraints` - missing "
This commit is contained in:
Robert Martin
2021-01-22 14:12:50 +08:00
committed by GitHub

View File

@@ -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