Skip to content

API Reference


API Reference / globalModifyOrderSchema

Variable: globalModifyOrderSchema

const globalModifyOrderSchema: ZodObject<{ orderId: 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>; legName: ZodOptional<ZodEnum<{ ENTRY_LEG: "ENTRY_LEG"; TARGET_LEG: "TARGET_LEG"; STOP_LOSS_LEG: "STOP_LOSS_LEG"; NA: "NA"; }>>; dhanClientId: ZodOptional<ZodString>; }, $strip>

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

Community project — not affiliated with Dhan. MIT License.