Skip to content

Update portfolio strategy#

About#

Updates provider portfolio

PUT /users/current/configuration/portfolio-strategies/:portfolioId

For more information see Swagger documentation

Headers#

Name Type Required Description
auth-token string Yes authorization token. See Authentication & authorization

Path parameters#

Name Type Required Description
portfolioId string Yes portfolio id

Body#

Account payload schema: UpdatedPortfolioStrategy

Response#

Responses:

  • 204 - PortfolioStrategy saved successfully.
  • 400 - PortfolioStrategy payload validation failed. Response schema: Error
  • 401 - Authorization failed. Response schema: Error

Examples#

Example request:

curl -X PUT --header 'Accept: application/json' --header 'auth-token: token' -d '{
  "name": "Test strategy",
  "description": "Some useful description about your strategy",
  "members": [
    {
      "strategyId": "AeRF",
      "multiplier": 1
    },
    {
      "strategyId": "FgCv",
      "multiplier": 0.5
    }
  ]
}' 'https://trading-api-v1.agiliumtrade.agiliumtrade.ai/users/current/configuration/portfolio-strategies/aBcD'