Interface PositionCreateRequest

interface PositionCreateRequest {
    currencyCode: string;
    direction: Direction;
    epic: string;
    expiry: string;
    forceOpen: Boolean;
    goodTillDate?: string;
    guaranteedStop: Boolean;
    level?: number;
    limitDistance?: number;
    limitLevel?: number;
    orderType: PositionOrderType;
    size: number;
    stopDistance?: number;
    stopLevel?: number;
    timeInForce?: PositionTimeInForce;
}

Properties

currencyCode: string
direction: Direction
epic: string
expiry: string
forceOpen: Boolean
goodTillDate?: string
guaranteedStop: Boolean
level?: number
limitDistance?: number
limitLevel?: number
size: number
stopDistance?: number
stopLevel?: number
timeInForce?: PositionTimeInForce