Longbridge OpenAPI SDK
    Preparing search index...

    Class GridOrder

    A grid trading order (element of the list / by-ids responses).

    Index
    • get orderId(): string

      Grid master order ID

      Returns string

    • get symbol(): string

      Security symbol (e.g. 700.HK)

      Returns string

    • get stockName(): string

      Stock name

      Returns string

    • get market(): string

      Market

      Returns string

    • get status(): string

      Order status

      Returns string

    • get gridStatus(): string

      Grid running status

      Returns string

    • get submittedBasePrice(): Decimal | null

      Submitted base price

      Returns Decimal | null

    • get currentBasePrice(): Decimal | null

      Current base price

      Returns Decimal | null

    • get preTriggerBasePrice(): Decimal | null

      Base price before the last trigger

      Returns Decimal | null

    • get postTriggerBasePrice(): Decimal | null

      Base price after the last trigger

      Returns Decimal | null

    • get upperLimitPrice(): Decimal | null

      Upper price bound

      Returns Decimal | null

    • get lowerLimitPrice(): Decimal | null

      Lower price bound

      Returns Decimal | null

    • get triggerSpreadUp(): Decimal | null

      Upward trigger spread

      Returns Decimal | null

    • get triggerSpreadDown(): Decimal | null

      Downward trigger spread

      Returns Decimal | null

    • get triggerPercentUp(): Decimal | null

      Upward trigger percent

      Returns Decimal | null

    • get triggerPercentDown(): Decimal | null

      Downward trigger percent

      Returns Decimal | null

    • get pullbackPercent(): Decimal | null

      Pullback percent

      Returns Decimal | null

    • get pullbackSpread(): Decimal | null

      Pullback spread

      Returns Decimal | null

    • get reboundPercent(): Decimal | null

      Rebound percent

      Returns Decimal | null

    • get reboundSpread(): Decimal | null

      Rebound spread

      Returns Decimal | null

    • get triggerSellOrderType(): string

      Sell-side execution order type (e.g. MO)

      Returns string

    • get triggerBuyOrderType(): string

      Buy-side execution order type (e.g. MO)

      Returns string

    • get triggerSellDepth(): number

      Sell-side order-book depth

      Returns number

    • get triggerBuyDepth(): number

      Buy-side order-book depth

      Returns number

    • get triggerQuantity(): Decimal | null

      Quantity per trigger

      Returns Decimal | null

    • get triggerSellQuantity(): Decimal | null

      Quantity per sell trigger

      Returns Decimal | null

    • get triggerBuyQuantity(): Decimal | null

      Quantity per buy trigger

      Returns Decimal | null

    • get upperLimitQuantity(): Decimal | null

      Quantity handled at the upper bound

      Returns Decimal | null

    • get lowerLimitQuantity(): Decimal | null

      Quantity handled at the lower bound

      Returns Decimal | null

    • get multipleTrigger(): boolean

      Whether a single grid level may trigger multiple times

      Returns boolean

    • get triggerTimes(): number

      Number of times the grid has triggered

      Returns number

    • get totalBuyQuantity(): Decimal | null

      Accumulated bought quantity

      Returns Decimal | null

    • get totalSellQuantity(): Decimal | null

      Accumulated sold quantity

      Returns Decimal | null

    • get totalProfitBalance(): Decimal | null

      Accumulated profit balance

      Returns Decimal | null

    • get settlementCurrency(): string

      Settlement currency

      Returns string

    • get gtd(): string

      Expiry date (YYYY-MM-DD, GTD)

      Returns string

    • get createdAt(): Date | null

      Created time

      Returns Date | null

    • get rth(): number

      Regular trading hours flag

      Returns number

    • get supportShortsell(): boolean

      Whether short selling is allowed

      Returns boolean

    • get gridOrderTypeUp(): string

      Sell-side grid order type (GMO / GLO / GTG)

      Returns string

    • get gridOrderTypeDown(): string

      Buy-side grid order type (GMO / GLO / GTG)

      Returns string

    • Returns string

    • Returns any