Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a single order fill.

Hierarchy

  • Fill

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new Fill(json: any, type?: OrderType.BUY | OrderType.SELL | OrderType.LIMIT_BUY | OrderType.LIMIT_SELL): Fill
  • Parameters

    • json: any
    • Optional type: OrderType.BUY | OrderType.SELL | OrderType.LIMIT_BUY | OrderType.LIMIT_SELL

    Returns Fill

Properties

Private _quantity

_quantity: number

Private _rate

_rate: number

Private _type

_type: OrderType.BUY | OrderType.SELL | OrderType.LIMIT_BUY | OrderType.LIMIT_SELL

Accessors

quantity

  • get quantity(): number
  • set quantity(value: number): void

rate

  • get rate(): number
  • set rate(value: number): void

type

  • get type(): OrderType.BUY | OrderType.SELL | OrderType.LIMIT_BUY | OrderType.LIMIT_SELL
  • set type(value: OrderType.BUY | OrderType.SELL | OrderType.LIMIT_BUY | OrderType.LIMIT_SELL): void
  • Returns OrderType.BUY | OrderType.SELL | OrderType.LIMIT_BUY | OrderType.LIMIT_SELL

  • Parameters

    • value: OrderType.BUY | OrderType.SELL | OrderType.LIMIT_BUY | OrderType.LIMIT_SELL

    Returns void

Generated using TypeDoc