Skip to content

dhan trades

Read tradebook information. All read-only.

Subcommand Dhan endpoint Purpose Flags
dhan trades list GET trades Today’s trades.
dhan trades order <order-id> GET trades/{id} Trades for one order.
dhan trades history --from <date> --to <date> [--page 0] GET trades/{from}/{to}/{page} Historical trades by date range. --from (req), --to (req), --page (default 0)
Terminal window
dhan trades list --json --no-color
dhan trades order <order-id> --json --no-color
dhan trades history --from 2026-01-01 --to 2026-01-02 --page 0 --json --no-color