Class ExecutionReportOperation

Execution-report operation group: instrument, account, and side.

Constructors

Accessors

  • get accountId(): undefined | AccountId
  • The account identifier, or undefined.

    Returns undefined | AccountId

  • set accountId(value): void
  • Sets the account identifier.

    Accepts an AccountId object or a number | bigint | string.

    Errors

    Throws AccountIdError on an invalid identifier value.

    Parameters

    • value:
          | undefined
          | null
          | string
          | number
          | bigint
          | AccountId

    Returns void

  • get settlementAsset(): undefined | string
  • The settlement asset, or undefined.

    Returns undefined | string

  • set settlementAsset(value): void
  • Sets the settlement asset.

    Errors

    Throws AssetError when the asset string is empty.

    Parameters

    • value: undefined | null | string

    Returns void

  • get side(): undefined | string
  • The trading side wire string ("BUY"/"SELL"), or undefined.

    Returns undefined | string

  • set side(value): void
  • Sets the trading side from its wire string.

    Errors

    Throws ParamError when value is not "BUY"/"SELL".

    Parameters

    • value:
          | undefined
          | null
          | "BUY"
          | "SELL"

    Returns void

  • get underlyingAsset(): undefined | string
  • The underlying asset, or undefined.

    Returns undefined | string

  • set underlyingAsset(value): void
  • Sets the underlying asset.

    Errors

    Throws AssetError when the asset string is empty.

    Parameters

    • value: undefined | null | string

    Returns void

Methods

  • Returns void

  • Returns void