dhan alerts
Manage conditional triggers. Live action on place / modify / delete.
Commands
Section titled “Commands”| Subcommand | Dhan endpoint | Purpose | Flags |
|---|---|---|---|
dhan alerts list |
GET alerts/orders |
Show all conditional triggers. | — |
dhan alerts get <alert-id> |
GET alerts/orders/{id} |
Show one conditional trigger. | — |
dhan alerts place --file <json> --yes Live action |
POST alerts/orders |
Place a conditional trigger. | --file (req), --yes (req), --dry-run |
dhan alerts modify <alert-id> --file <json> --yes Live action |
PUT alerts/orders/{id} |
Modify a conditional trigger. | --file (req), --yes (req), --dry-run |
dhan alerts delete <alert-id> --yes Live action |
DELETE alerts/orders/{id} |
Delete a conditional trigger. | --yes (req) |
Examples
Section titled “Examples”dhan alerts list --json --no-colordhan alerts get <alert-id> --json --no-colordhan alerts place --file alert.json --dry-run --json --no-colordhan alerts place --file alert.json --yes --json --no-colordhan alerts modify <alert-id> --file alert.json --yes --json --no-colordhan alerts delete <alert-id> --yes --json --no-color