Slippage override applied at one tier of the spot-funds cascade.

accountId and accountGroupId are mutually exclusive; setting neither targets the instrument default. Resolution order is (instrument, account) -> (instrument, group) -> instrument -> global.

Constructors

Methods

Constructors

  • Constructs a slippage override.

    accountId and accountGroupId are mutually exclusive. slippageBps is the override slippage in basis points, or null/undefined to defer to the next cascade tier.

    Errors

    Throws ParamError when both accountId and accountGroupId are set.

    Parameters

    • instrument:
          | string
          | number
          | bigint
          | InstrumentId
    • account_id:
          | undefined
          | null
          | string
          | number
          | bigint
          | AccountId
    • account_group_id:
          | undefined
          | null
          | string
          | number
          | bigint
          | AccountGroupId
    • slippage_bps: undefined | null | number

    Returns SpotFundsOverride

Methods

  • Returns void

  • Returns void