Systemicbeta

Power

systemic:core-powMath

Inputs

NameTypeDescription
Second ValueNumber seriesThe exponent: the power the base is raised to.
First ValueNumber seriesThe base: the number that is raised to a power.

Outputs

NameTypeDescription
PowNumber seriesThe first input raised to the power of the second input, bar by bar (Base ^ Exponent).

Cost

7
credits per run
1,000
bars

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

Resulti=AiBi\text{Result}_i = A_i^{B_i}

Raises each value of the first input to the power of the matching value of the second, bar by bar. Useful for compound growth, volatility calculations, and non-linear scaling.

Base (A)Exponent (B)Result
238
40.52
10-10.1
501

Missing Data

If either input is empty (null) on a bar, for example a data gap or a closed-market day, the result on that bar is empty. A gap in your inputs stays a gap in the output. Two cases still give 1, because the result does not depend on the missing value: an exponent of 0, and a base of 1.

BaseExponentResult
2emptyempty
empty3empty
emptyemptyempty
empty01
1empty1

Special Cases

⚠️ Important: Apart from missing data, some results are not defined for real numbers:

ScenarioResultNotes
Negative base + fractional exponentemptyNot defined in real numbers (would be complex)
0 raised to a negative powerinfinityDivision by zero
Very large resultinfinityToo large to store

Example: (−4)0.5(-4)^{0.5} → empty (would be 2i2i in complex math)

Infinite results are returned as infinity. They are values, not gaps.


Common Exponents

ExponentOperationUse Case
2SquareVariance from std dev
0.5Square rootStd dev from variance
-1ReciprocalInverse weighting
0Any base → 1Reset to constant

Input Alignment

Systemic matches the inputs by time before the calculation:

ScenarioWhat Happens
Different lengthsThe result starts at the first bar where both inputs have data
Different periodsThe series with the longer period repeats its latest value on each bar of the other
One constantThe constant is used on every bar

Practical Example: Compound Growth

Calculate the growth factor of compound interest:

Growth Factor=(1+r)n\text{Growth Factor} = (1 + r)^n

Annual RateYearsGrowth Factor
5%101.0510=1.6291.05^{10} = 1.629
7%201.0720=3.8701.07^{20} = 3.870
10%301.1030=17.4491.10^{30} = 17.449

Connect a growth factor series (1 + return) to the base and the number of periods to the exponent.


  • SQRT — Square root (equivalent to exponent 0.5)
  • MUL — Repeated multiplication
  • DIV — Reciprocal (equivalent to exponent -1)

Interpretation Tips

  • Exponent > 1: Spreads values out: values above 1 grow, values between 0 and 1 shrink
  • 0 < Exponent < 1: Compresses the spread: positive values move closer to 1
  • Exponent < 0: Inverts the scale (reciprocal-like)
  • Exponent = 0: Everything becomes 1

Advantages

  • Non-linear transformations — Needed for many financial calculations
  • Flexible — Squares, roots and reciprocals in one module
  • Bar by bar — Works naturally with time series

Disadvantages

  • Undefined cases — A negative base with a fractional exponent gives an empty result
  • Overflow risk — Large exponents can give infinity
  • Interpretation — Results are hard to read at extreme exponents

Further Reading

© 2026 WanoLabs. All rights reservedBeta v0.1.5