Update equity monitor .

PATCH

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.

Request

/equity-monitors/{equity_monitor_id}

Body

{
    "status": "cancelled"
}

Response

{
    "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"
    }
}

Attributes

Field Required Accepted Description
status yes cancelled Cancel the current equity monitor

Stay in the loop..

Sign up to our newsletter to keep up-to-date.