Skip to content

dhan global

Trade and read US Global Stocks on Dhan. Order placement, modification, cancellation require static-IP whitelisting. Live action

Subcommand Dhan endpoint Purpose Flags
dhan global orders list GET globalstocks/orders List today’s global orders.
dhan global orders get <order-id> GET globalstocks/orders/{id} Show one global order.
dhan global orders place --file <json> --yes Live action POST globalstocks/orders Place a global order. --file (req), --yes (req), --dry-run
dhan global orders modify <order-id> --file <json> --yes Live action PUT globalstocks/orders/{id} Modify a global order. --file (req), --yes (req), --dry-run
dhan global orders cancel <order-id> --yes Live action DELETE globalstocks/orders/{id} Cancel a global order. --yes (req)
Subcommand Dhan endpoint Purpose
dhan global trades list GET globalstocks/trades Today’s global trades.
dhan global trades by-security <security-id> GET globalstocks/trades/{id} Trades for one security.
Subcommand Dhan endpoint Purpose
dhan global estimate --file <json> POST globalstocks/transEstimate Estimate charges for an order.
dhan global margin --file <json> POST globalstocks/margincalculator Calculate margin.
dhan global holdings GET globalstocks/holdings Show Global Stocks holdings.
dhan global funds GET globalstocks/fundlimit Show Global Stocks fund limit.
dhan global market-status GET globalstocks/marketstatus Show US market status.
Terminal window
dhan global orders list --json --no-color
dhan global orders place --file us-order.json --dry-run --json --no-color
dhan global orders place --file us-order.json --yes --json --no-color
dhan global trades list --json --no-color
dhan global trades by-security 11536 --json --no-color
dhan global holdings --json --no-color
dhan global funds --json --no-color
dhan global market-status --json --no-color
dhan global estimate --file us-order.json --json --no-color
dhan global margin --file us-order.json --json --no-color