dhan trades
Read tradebook information. All read-only.
Commands
Section titled “Commands”| 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) |
Examples
Section titled “Examples”dhan trades list --json --no-colordhan trades order <order-id> --json --no-colordhan trades history --from 2026-01-01 --to 2026-01-02 --page 0 --json --no-color