Class ExecutionReportFillDetails

Fill-details group: lock, fee, remaining quantity, last trade, and finality.

Constructors

  • Constructs a fill-details group around the required lock.

    The lock is mandatory; the other fields default to absent and are set through their setters.

    Parameters

    Returns ExecutionReportFillDetails

Accessors

  • get fee(): undefined | MonetaryAmount
  • The fee amount and currency for this fill, or undefined.

    Returns undefined | MonetaryAmount

  • set fee(value): void
  • Sets or clears the fee amount and currency.

    Accepts a MonetaryAmount object or a MonetaryAmountInit literal.

    Errors

    Throws ParamError/AssetError when a present value cannot be marshalled into the core value types.

    Parameters

    Returns void

  • get isFinal(): undefined | boolean
  • Whether this report closes the order's report stream, or undefined.

    Returns undefined | boolean

  • set isFinal(value): void
  • Sets the finality flag.

    Parameters

    • value: undefined | null | boolean

    Returns void

  • get lastTrade(): undefined | Trade
  • The last executed trade, or undefined.

    Returns undefined | Trade

  • set lastTrade(value): void
  • Sets the last executed trade (accepts a Trade object or a plain TradeInit literal).

    Errors

    Throws ParamError when value is neither a Trade nor a valid literal.

    Parameters

    • value:
          | undefined
          | null
          | Trade
          | TradeInit

    Returns void

  • get leavesQuantity(): undefined | Quantity
  • The remaining (unfilled) quantity, or undefined.

    Returns undefined | Quantity

  • set leavesQuantity(value): void
  • Sets the remaining quantity (accepts a value object or DecimalInput).

    Errors

    Throws ParamError on an invalid value.

    Parameters

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

    Returns void

  • get lock(): undefined | Lock
  • The reservation lock for this fill, or undefined when omitted from a plain object.

    Returns undefined | Lock

  • set lock(value): void
  • Sets the reservation lock.

    Parameters

    Returns void

Methods

  • Returns void

  • Returns void