Skip to content

API Reference


API Reference / globalPlaceOrderSchema

Variable: globalPlaceOrderSchema

const globalPlaceOrderSchema: ZodObject<{ dhanClientId: ZodOptional<ZodString>; correlationId: ZodOptional<ZodString>; transactionType: ZodEnum<{ BUY: "BUY"; SELL: "SELL"; }>; orderType: ZodEnum<{ LIMIT: "LIMIT"; MARKET: "MARKET"; STOP_LOSS: "STOP_LOSS"; STOP_LOSS_MARKET: "STOP_LOSS_MARKET"; AMOUNT: "AMOUNT"; }>; securityId: ZodString; quantity: ZodOptional<ZodNumber>; price: ZodOptional<ZodNumber>; triggerPrice: ZodOptional<ZodNumber>; stopLossPrice: ZodOptional<ZodNumber>; targetPrice: ZodOptional<ZodNumber>; amount: ZodOptional<ZodNumber>; afterMarketOrder: ZodOptional<ZodBoolean>; }, $strip>

Defined in: src/contracts/global-stocks.schema.ts:23

Community project — not affiliated with Dhan. MIT License.