Systemicbeta

Multiply

systemic:core-mulMath

Inputs

NameTypeDescription
First ValueNumber seriesThe first series or constant to multiply.
Second ValueNumber seriesThe second series or constant to multiply.

Outputs

NameTypeDescription
ProductNumber seriesFirst Value multiplied by Second Value, bar by bar.

Cost

7
credits per run
1,000
bars

0.199 + 0.00608·n credits for n bars, rounded up. The marks are each plan's limit of bars.

Producti=Ai×Bi\text{Product}_i = A_i \times B_i

Multiplies two numeric series bar by bar. Useful for scaling, weighting and position sizing.

First (A)Second (B)Product
1001.02102
500.525
-103-30
09990

Missing Data

If either input is missing (empty) on a bar — a data gap or a closed-market day — the product on that bar is empty. The module never invents a value for missing data: a gap in your inputs stays a gap in the output.

First (A)Second (B)Product
100emptyempty
empty0.5empty
09990

A zero is a real value, not missing data: multiplying by 0 gives 0.


Input Alignment

Systemic aligns the inputs by time before the multiplication:

ScenarioWhat Happens
Different lengthsThe result covers the dates that both series share
Different periodsThe series with the longer period repeats its last value until its next bar
One constantThe constant is used on every bar

Practical Example: Position Value Calculation

Multiplying a quantity by a price gives the value of a position:

Position Value=Shares×Price\text{Position Value} = \text{Shares} \times \text{Price}

SharesPricePosition Value
100150.0015,000
50200.0010,000
20075.0015,000

Connect a series that sets the quantity to one input and a price series to the other to follow the position value over time.


  • DIV — Division for ratio calculations
  • ADD / SUB — Combine or offset values
  • POW — Exponentiation for compound growth
© 2026 WanoLabs. All rights reservedBeta v0.1.5