Update a portfolio.

Params

Param Name Description
id
Required

The slug of the portfolio to update.


Value:

Must be String

portfolio
Required

Portfolio data.


Value:

Must be a Hash

portfolio[name]
Required

Portfolio name.


Value:

Must be String

portfolio[goal]
Optional

The goal of the portfolio.


Value:

Must be String

portfolio[horizon]
Optional

The horizon of the portfolio.


Value:

Must be one of: very_long, long, medium, short, very_short.

portfolio[category]
Optional

The category of the portfolio.


Value:

Must be one of: equity, bond, cash, balanced, flexible, commodities.

portfolio[strategy]
Optional

The strategy of the portfolio.


Value:

Must be String

portfolio[rebalancing]
Optional

The rebalancing frequency of the portfolio.


Value:

Must be one of: weekly, monthly, yearly, variable.