Systemicalpha

Add

systemic:core-addMathfunction1 cr

Inputs

NameTypeDescription
First ValuefloatarrayThe first numeric series for addition.
Second ValuefloatarrayThe second numeric series for addition.

Outputs

NameTypeDescription
SumfloatarrayThe element-wise sum of the two input series.
Sumi=Ai+Bi\text{Sum}_i = A_i + B_i

The Add module performs element-wise addition of two data series, producing a new series where each element is the sum of the corresponding elements from the inputs.

FirstSecondSum
10050150
-10100
0.50.30.8

Missing Data

If either input is missing (null) at a position — a data gap or a closed-market day — the sum at that position is null. The module never invents a value for missing data: a gap in your inputs stays a gap in the output.

FirstSecondResult
100nullnull
null50null
nullnullnull

Separate from missing data, a result can be mathematically undefined: adding +∞ and −∞ has no answer, so that position is also null even though both inputs exist. Any other infinite result passes through unchanged.

In live execution the module returns exactly one datapoint — the newest position — which is null when it cannot be determined.


Input Alignment

When inputs have different lengths or frequencies, Systemic automatically aligns them:

ScenarioBehavior
Different lengthsShorter series is padded by repeating its last value
Different frequenciesLower-frequency series is upsampled to match
Constant vs seriesConstant is broadcast to all time points

Practical Example

Offset adjustment: Add a constant to shift a data series up or down—for example, adding transaction costs to price data or adjusting an oscillator's baseline.


  • SUB — Subtraction
  • MUL — Multiplication
  • DIV — Division
© 2026 WanoLabs. All rights reservedAlpha build v0.1.5