Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a single placed order.

Hierarchy

  • PlacedOrder

Index

Constructors

Properties

Accessors

Constructors

constructor

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

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