Interface ClosePositionRequest

Identifies the position a command acts on.

interface ClosePositionRequest {
    account?: string;
    clientToken?: string;
    exchange?: string;
    product?: "CNC" | "NRML" | "MIS";
    qty?: number;
    symbol: string;
}

Hierarchy (View Summary)

Properties

account?: string
clientToken?: string

Idempotency token for this command alone.

exchange?: string
product?: "CNC" | "NRML" | "MIS"
qty?: number

How much to close. Omitted closes the whole position; a quantity is a partial close.

symbol: string