Skip to content

Reset stop outs#

About#

Resets a stop out

POST /users/current/accounts/:accountId/strategies-subscribed/:strategyId/stopouts/:reason/reset

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
accountId string Yes account id
strategyId string Yes strategy id
reason string Yes reason of a stop out to reset. One of yearly-balance, monthly-balance, daily-balance, yearly-equity, monthly-equity, daily-equity, max-drawdown

Response#

Responses:

  • 204 - Stopouts were reset successfully
  • 401 - Authorization failed. Response schema: Error
  • 403 - User is not an account owner. Response schema: Error

Examples#

Example request:

curl -X POST --header 'Accept: application/json' --header 'auth-token: token' 'https://trading-api-v1.agiliumtrade.agiliumtrade.ai/users/current/accounts/865d3a4d-3803-486d-bdf3-a85679d9fad2/strategies-subscribed/iERv/stopouts/max-drawdown/reset'