Dealing with sum(w) != 1
Open
bug
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
With the convex optimization it could happen that the solver does not find solution and then it results in weights not summing up to one (sometimes drastically different).
Possible solutions
- Postprocessing layer (rescales to 1)
- Loss punishing incorrect w
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by locating the convex-optimization path that produces portfolio weights and determine how solver failure is reported; done requires an agreed behavior that guarantees or explicitly handles weights whose sum differs from 1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- fintech-quant
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100