Remove external signal#
About#
Removes (closes) external signal for a strategy
POST /users/current/strategies/:strategyId/external-signals/:id/remove
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 |
---|---|---|---|
strategyId | string | Yes | strategy id |
id | string | Yes | external signal id |
Body#
External signal remove payload schema: {time: string(datetime)}
Response#
Responses:
- 204 - Subscriber saved successfully.
- 400 - Subscriber payload validation failed. Response schema: Error
- 401 - Authorization failed. Response schema: Error
- 404 - Signal not found. Response schema: Error
Examples#
Example request:
curl -X POST --header 'Accept: application/json' --header 'auth-token: token' -d '{
"time": "2020-08-24T00:00:00.000Z"
}' 'https://copyfactory-api-v1.new-york.agiliumtrade.ai/users/current/strategies/iAFv/external-signals/2DLmSEib/remove'