Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a single order book order.

Hierarchy

  • OrderBookOrder

Index

Constructors

Properties

Accessors

Constructors

constructor

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

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