Abs

The Abs function in Origami Tech returns the absolute value of a number, useful for managing signals, risk, and calculations in trading logic.

abs(decimal) -> decimal

Returns the absolute value of the given number

Example:

abs(-0.1)0.1

abs(0.1)0.1

Last updated