Skip to content

API Reference


API Reference / RiskOrderArgs

Interface: RiskOrderArgs ​

Defined in: src/risk/types.ts:35

Order arguments a check sees. Superset of a place-order request.

Extends ​

Indexable ​

[key: string]: unknown

Properties ​

stopLoss? ​

optional stopLoss?: number

Defined in: src/risk/types.ts:36


target? ​

optional target?: number

Defined in: src/risk/types.ts:37


correlationId? ​

optional correlationId?: string

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

Inherited from ​

CorrelatedRequest.correlationId


dhanClientId? ​

optional dhanClientId?: string

Defined in: src/types/order.types.ts:26

Inherited from ​

PlaceOrderRequest.dhanClientId


transactionType? ​

optional transactionType?: TransactionType

Defined in: src/types/order.types.ts:27

Inherited from ​

PlaceOrderRequest.transactionType


exchangeSegment? ​

optional exchangeSegment?: ExchangeSegment

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

Inherited from ​

PlaceOrderRequest.exchangeSegment


productType? ​

optional productType?: ProductType

Defined in: src/types/order.types.ts:29

Inherited from ​

PlaceOrderRequest.productType


orderType? ​

optional orderType?: OrderType

Defined in: src/types/order.types.ts:30

Inherited from ​

PlaceOrderRequest.orderType


validity? ​

optional validity?: Validity

Defined in: src/types/order.types.ts:31

Inherited from ​

PlaceOrderRequest.validity


quantity? ​

optional quantity?: number

Defined in: src/types/order.types.ts:32

Inherited from ​

PlaceOrderRequest.quantity


disclosedQuantity? ​

optional disclosedQuantity?: number

Defined in: src/types/order.types.ts:33

Inherited from ​

PlaceOrderRequest.disclosedQuantity


price? ​

optional price?: number

Defined in: src/types/order.types.ts:34

Inherited from ​

PlaceOrderRequest.price


triggerPrice? ​

optional triggerPrice?: number

Defined in: src/types/order.types.ts:35

Inherited from ​

PlaceOrderRequest.triggerPrice


afterMarketOrder? ​

optional afterMarketOrder?: boolean

Defined in: src/types/order.types.ts:36

Inherited from ​

PlaceOrderRequest.afterMarketOrder


amoTime? ​

optional amoTime?: string

Defined in: src/types/order.types.ts:37

Inherited from ​

PlaceOrderRequest.amoTime


securityId? ​

optional securityId?: string

Defined in: src/types/order.types.ts:38

Inherited from ​

PlaceOrderRequest.securityId


boProfitValue? ​

optional boProfitValue?: number

Defined in: src/types/order.types.ts:39

Inherited from ​

PlaceOrderRequest.boProfitValue


boStopLossValue? ​

optional boStopLossValue?: number

Defined in: src/types/order.types.ts:40

Inherited from ​

PlaceOrderRequest.boStopLossValue

Community project — not affiliated with Dhan. MIT License.