Skip to content

Get portfolio strategies#

About#

Returns provider portfolios the user has configured

GET /users/current/configuration/portfolio-strategies

For more information see Swagger documentation

Headers#

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

Response#

Responses:

Examples#

Example request:

curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://copyfactory-application-history-master-v1.agiliumtrade.agiliumtrade.ai/users/current/configuration/portfolio-strategies'

Example response:

[
  {
    "_id": "QlX5",
    "name": "Test strategy",
    "description": "Some useful description about your strategy",
    "members": [
      {
        "strategyId": "Gfdr",
        "multiplier": 1,
        "skipPendingOrders": true,
        "maxTradeRisk": 0.4,
        "reverse": true,
        "reduceCorrelations": "by-strategy",
        "stopOutRisk": {
          "value": 0.7,
          "startTime": "2020-08-24T00:00:00.000Z"
        },
        "symbolFilter": {
          "included": [
            "EURUSD"
          ]
        },
        "newsFilter": {
          "calendarNewsFilter": {
            "priorities": [
              "election"
            ],
            "closePositionTimeGapInMinutes": 10,
            "openPositionPrecedingTimeGapInMinutes": 20,
            "openPositionFollowingTimeGapInMinutes": 20
          }
        },
        "riskLimits": [
          {
            "type": "daily",
            "applyTo": "balance",
            "maxRisk": 0.1,
            "closePositions": true,
            "startTime": "2020-08-24T00:00:00.000Z"
          }
        ],
        "maxStopLoss": {
          "value": 100,
          "units": "pips"
        },
        "maxLeverage": 50,
        "symbolMapping": [
          {
            "to": "EURUSD",
            "from": "EURUSD.m"
          }
        ],
        "tradeSizeScaling": {
          "mode": "none"
        },
      }
    ],
    "commissionScheme": {
      "type": "flat-fee",
      "billingPeriod": "week",
      "commissionRate": 0
    },
    "skipPendingOrders": true,
    "maxTradeRisk": 0.1,
    "reverse": true,
    "reduceCorrelations": "by-strategy",
    "stopOutRisk": {
      "value": 0.4,
      "startTime": "2020-08-24T00:00:00.000Z"
    },
    "symbolFilter": {
      "included": [
        "EURUSD"
      ]
    },
    "newsFilter": {
      "calendarNewsFilter": {
        "priorities": [
          "election"
        ],
        "closePositionTimeGapInMinutes": 10,
        "openPositionPrecedingTimeGapInMinutes": 10,
        "openPositionFollowingTimeGapInMinutes": 20
      }
    },
    "riskLimits": [
      {
        "type": "daily",
        "applyTo": "balance",
        "maxRisk": 0.1,
        "closePositions": true,
        "startTime": "2020-08-24T00:00:00.000Z"
      }
    ],
    "maxStopLoss": {
      "value": 150,
      "units": "pips"
    },
    "maxLeverage": 50,
    "symbolMapping": [
      {
        "to": "EURUSD",
        "from": "EURUSD.m"
      }
    ],
    "tradeSizeScaling": {
      "mode": "none"
    },
    "platformCommissionRate": 0
  }
]