Interfaces
PlaceOrderParams

Interface: PlaceOrderParams

Params to place an order.

Properties

auction_number

Optional auction_number: number

A unique identifier for a particular auction


disclosed_quantity

Optional disclosed_quantity: number

Disclosed quantity


exchange

exchange: "NSE" | "BSE" | "NFO" | "CDS" | "BCD" | "BFO" | "MCX"

Exchange in which instrument is listed (NSE, BSE, NFO, BFO, CDS, MCX).


iceberg_legs

Optional iceberg_legs: number

Total number of legs for iceberg order variety


iceberg_quantity

Optional iceberg_quantity: number

Split quantity for each iceberg leg order


order_type

order_type: "LIMIT" | "MARKET" | "SL" | "SL-M"

Order type (LIMIT, SL, SL-M, MARKET).


price

Optional price: number

Order Price


product

product: "NRML" | "MIS" | "CNC" | "CO" | "BO"

Product code (NRML, MIS, CNC).


quantity

quantity: number

Order quantity


squareoff

Optional squareoff: number

Square off value (only for bracket orders)


stoploss

Optional stoploss: number

Stoploss value (only for bracket orders)


tag

Optional tag: string

An optional tag to apply to an order to identify it (alphanumeric, max 20 chars)


tradingsymbol

tradingsymbol: string

Tradingsymbol of the instrument (ex. RELIANCE, INFY).


trailing_stoploss

Optional trailing_stoploss: number

Trailing stoploss value (only for bracket orders)


transaction_type

transaction_type: "BUY" | "SELL"

Transaction type (BUY or SELL).


trigger_price

Optional trigger_price: number

Trigger price


validity

Optional validity: "DAY" | "IOC" | "TTL"

Order validity (DAY, IOC).


validity_ttl

Optional validity_ttl: number

Order validity in minutes for TTL validity orders