Class Bond

A Bond Contract

Hierarchy

  • Bond

Implements

Constructors

  • Parameters

    • symbol: string
    • Optional maturity: string
    • Optional exchange: string
    • Optional currency: string

    Returns Bond

Properties

currency?: string

The trading currency.

exchange?: string

The destination exchange.

maturity?: string
secType: SecType = SecType.BOND

The security type

symbol: string

The asset symbol.

Accessors

  • get lastTradeDateOrContractMonth(): string
  • The contract's last trading day or contract month (for Options and Futures).

    Strings with format YYYYMM will be interpreted as the Contract Month whereas YYYYMMDD will be interpreted as Last Trading Day.

    Returns string

Generated using TypeDoc