screamer.js
    Preparing search index...

    Function resample

    • Causal windowed downsample: bars of every index units, count arrivals, a cumulative threshold of a driver stream, or the ticks of a clock stream (clock: true). A builtin agg reduces every column of a wide stream on its own; "ohlc" on X columns gives 4 * X columns in field order [o0, h0, l0, c0, o1, ...] inside a Pipeline, and [T', X, 4] from the array form, as in Python.

      • A Node builds a graph node for a Pipeline (driver a Node).
      • Arrays, or { values, index } (driver the same): returns { values, index }, the index the bar labels. Values (T, *A) with a per-column agg give (T', *A), with a last axis of 4 for "ohlc".
      • An iterator of { value, index } events (driver an iterator for a clock): returns an iterator of { value, index } bars.

      Python's Resample(...) gives the same values.

      Parameters

      Returns Node

    • Causal windowed downsample: bars of every index units, count arrivals, a cumulative threshold of a driver stream, or the ticks of a clock stream (clock: true). A builtin agg reduces every column of a wide stream on its own; "ohlc" on X columns gives 4 * X columns in field order [o0, h0, l0, c0, o1, ...] inside a Pipeline, and [T', X, 4] from the array form, as in Python.

      • A Node builds a graph node for a Pipeline (driver a Node).
      • Arrays, or { values, index } (driver the same): returns { values, index }, the index the bar labels. Values (T, *A) with a per-column agg give (T', *A), with a last axis of 4 for "ohlc".
      • An iterator of { value, index } events (driver an iterator for a clock): returns an iterator of { value, index } bars.

      Python's Resample(...) gives the same values.

      Parameters

      Returns { index: Float64Array; values: Float64Array<ArrayBufferLike> | NdArray }

    • Causal windowed downsample: bars of every index units, count arrivals, a cumulative threshold of a driver stream, or the ticks of a clock stream (clock: true). A builtin agg reduces every column of a wide stream on its own; "ohlc" on X columns gives 4 * X columns in field order [o0, h0, l0, c0, o1, ...] inside a Pipeline, and [T', X, 4] from the array form, as in Python.

      • A Node builds a graph node for a Pipeline (driver a Node).
      • Arrays, or { values, index } (driver the same): returns { values, index }, the index the bar labels. Values (T, *A) with a per-column agg give (T', *A), with a last axis of 4 for "ohlc".
      • An iterator of { value, index } events (driver an iterator for a clock): returns an iterator of { value, index } bars.

      Python's Resample(...) gives the same values.

      Parameters

      Returns Generator<PipelineRow, void, undefined>