@openpit/engine
    Preparing search index...

    Class SpotFundsOverride

    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.

    Index
    • 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: string | number | bigint | AccountId | null | undefined
      • account_group_id: string | number | bigint | AccountGroupId | null | undefined
      • slippage_bps: number | null | undefined

      Returns SpotFundsOverride

    • Returns void

    • Returns void