Skip to content

How can I remove constraint of weights adding to 1 or 0? #134

@hnicks13

Description

@hnicks13

I am trying to optimise a fixed income portfolio where my active exposures vector (ie. relative to benchmark) is a mix of FX weights and weighted durations. Clearly there is no reason why the exposures will add to zero (the FX weights will but not if you include the durations), in contrast to the simple case of an equity portfolio. I understand that the EfficientFrontier class has a built in constraint that forces the sum of weights to be 1 or 0. The guides explain how to add extra constraints but not how to visualise the built in default constraints and how to edit them? How can I remove the constraint on sum of weights?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions