Skip to content

dhan alerts

Manage conditional triggers. Live action on place / modify / delete.

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)
Terminal window
dhan alerts list --json --no-color
dhan alerts get <alert-id> --json --no-color
dhan alerts place --file alert.json --dry-run --json --no-color
dhan alerts place --file alert.json --yes --json --no-color
dhan alerts modify <alert-id> --file alert.json --yes --json --no-color
dhan alerts delete <alert-id> --yes --json --no-color