You can change the status of an equity monitor from active to cancelled using this PATCH endpoint. You cannot delete an equity monitor or change any other attributes of the monitor.
/equity-monitors/{equity_monitor_id}
{
"status": "cancelled"
}
{
"result": "success",
"status": 200,
"data": {
"id": 1,
"created_at": "2023-09-12T10:45:14Z",
"updated_at": "2023-09-12T13:42:03Z",
"account_id": 232,
"status": "cancelled",
"type": "target_value",
"value": 1234,
"action": "alert_disable_copiers_close_trades"
}
}
Field | Required | Accepted | Description |
---|---|---|---|
status | yes | cancelled | Cancel the current equity monitor |
Sign up to our newsletter to keep up-to-date.