Interface SubmitOrderOptions

Options for submit order request

interface SubmitOrderOptions {
    symbol: string;
    orderType: OrderType;
    side: OrderSide;
    submittedQuantity: Decimal;
    timeInForce: TimeInForceType;
    submittedPrice?: Decimal;
    triggerPrice?: Decimal;
    limitOffset?: Decimal;
    trailingAmount?: Decimal;
    trailingPercent?: Decimal;
    expireDate?: NaiveDate;
    outsideRth?: OutsideRTH;
    remark?: string;
}

Properties

symbol: string

Security code

orderType: OrderType

Order type

side: OrderSide

Order side

submittedQuantity: Decimal

Submitted quantity

timeInForce: TimeInForceType

Time in force type

submittedPrice?: Decimal

Submitted price

triggerPrice?: Decimal

Trigger price (LIT / MIT Required)

limitOffset?: Decimal

Limit offset amount (TSLPAMT / TSLPPCT Required)

trailingAmount?: Decimal

Trailing amount (TSLPAMT / TSMAMT Required)

trailingPercent?: Decimal

Trailing percent (TSLPPCT / TSMAPCT Required)

expireDate?: NaiveDate

Long term order expire date (Required when time_in_force is GoodTilDate)

outsideRth?: OutsideRTH

Enable or disable outside regular trading hours

remark?: string

Remark (Maximum 64 characters)