Skip to content

API Reference


API Reference / superOrderSchema

Variable: superOrderSchema

const superOrderSchema: ZodObject<{ dhanClientId: ZodOptional<ZodString>; correlationId: ZodOptional<ZodString>; transactionType: ZodEnum<{ BUY: "BUY"; SELL: "SELL"; }>; exchangeSegment: ZodEnum<{ NSE_EQ: "NSE_EQ"; NSE_FNO: "NSE_FNO"; NSE_COMM: "NSE_COMM"; BSE_EQ: "BSE_EQ"; MCX_COMM: "MCX_COMM"; BSE_FNO: "BSE_FNO"; }>; productType: ZodEnum<{ CNC: "CNC"; INTRADAY: "INTRADAY"; MARGIN: "MARGIN"; MTF: "MTF"; }>; orderType: ZodEnum<{ LIMIT: "LIMIT"; MARKET: "MARKET"; }>; quantity: ZodNumber; price: ZodOptional<ZodNumber>; targetPrice: ZodOptional<ZodNumber>; stopLossPrice: ZodOptional<ZodNumber>; trailingJump: ZodOptional<ZodNumber>; securityId: ZodString; }, $strip>

Defined in: src/contracts/super-order.schema.ts:3

Community project — not affiliated with Dhan. MIT License.