@openpit/engine
    Preparing search index...

    Class ExecutionReportOperation

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

    Index
    • get accountId(): AccountId | undefined

      The account identifier, or undefined.

      Returns AccountId | undefined

    • set accountId(
          value: string | number | bigint | AccountId | null | undefined,
      ): void

      Sets the account identifier.

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

      Errors

      Throws AccountIdError on an invalid identifier value.

      Parameters

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

      Returns void

    • get settlementAsset(): string | undefined

      The settlement asset, or undefined.

      Returns string | undefined

    • set settlementAsset(value: string | null | undefined): void

      Sets the settlement asset.

      Errors

      Throws AssetError when the asset string is empty.

      Parameters

      • value: string | null | undefined

      Returns void

    • get side(): string | undefined

      The trading side wire string ("BUY"/"SELL"), or undefined.

      Returns string | undefined

    • set side(value: "BUY" | "SELL" | null | undefined): void

      Sets the trading side from its wire string.

      Errors

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

      Parameters

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

      Returns void

    • get underlyingAsset(): string | undefined

      The underlying asset, or undefined.

      Returns string | undefined

    • set underlyingAsset(value: string | null | undefined): void

      Sets the underlying asset.

      Errors

      Throws AssetError when the asset string is empty.

      Parameters

      • value: string | null | undefined

      Returns void

    • Returns void

    • Returns void