Skip to content

API Reference


API Reference / GlobalPlaceOrderRequest

Interface: GlobalPlaceOrderRequest ​

Defined in: src/types/global-stocks.types.ts:26

Extends ​

Properties ​

correlationId? ​

optional correlationId?: string

Defined in: src/types/common.types.ts:28

Inherited from ​

CorrelatedRequest.correlationId


dhanClientId? ​

optional dhanClientId?: string

Defined in: src/types/global-stocks.types.ts:27


transactionType ​

transactionType: "BUY" | "SELL"

Defined in: src/types/global-stocks.types.ts:28


orderType ​

orderType: GlobalOrderType

Defined in: src/types/global-stocks.types.ts:29


securityId ​

securityId: string

Defined in: src/types/global-stocks.types.ts:30


quantity? ​

optional quantity?: number

Defined in: src/types/global-stocks.types.ts:32

Fractional shares are allowed. Required unless orderType is AMOUNT.


price? ​

optional price?: number

Defined in: src/types/global-stocks.types.ts:33


triggerPrice? ​

optional triggerPrice?: number

Defined in: src/types/global-stocks.types.ts:34


stopLossPrice? ​

optional stopLossPrice?: number

Defined in: src/types/global-stocks.types.ts:35


targetPrice? ​

optional targetPrice?: number

Defined in: src/types/global-stocks.types.ts:36


amount? ​

optional amount?: number

Defined in: src/types/global-stocks.types.ts:38

Dollar value for AMOUNT orders. Required when orderType is AMOUNT.


afterMarketOrder? ​

optional afterMarketOrder?: boolean

Defined in: src/types/global-stocks.types.ts:39

Community project — not affiliated with Dhan. MIT License.