Skip to main content

ceil


CEIL

Type: ceil • Category: indicators

Description

Vector Ceil

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringInput datano

Help

CEIL

Description

The CEIL worker, short for Vector Ceil, is an indicator specifically designed for financial markets. It operates on input data to produce a ceiling effect, which can be utilized in various financial analyses and strategies.

What does this worker do?

The CEIL worker takes input data and applies a ceiling function to it. In mathematical terms, the ceiling function of a real number x, denoted by ceil(x) or ⌈x⌉, is defined as the smallest integer that is greater than or equal to x. This operation effectively rounds up the input data to the nearest integer.

How to Interpret the Results

The results from the CEIL worker can be interpreted as a transformed version of the input data, where all values have been rounded up to the next integer. This can be particularly useful in financial markets for creating indicators that require values to be rounded up to a standard unit, for threshold calculations, or for any analysis requiring a 'ceiling' effect.

Parameters

The CEIL worker accepts the following parameters:

JSON Schema:

{
"dataExp": {
"type": "string",
"description": "Input data"
}
}

Detailed Parameters:

  • dataExp:
    • Type: string
    • Description: This parameter represents the input data on which the CEIL operation will be performed. The data should be provided as a string.

Usage

To use the CEIL worker, provide the input data as a string in the dataExp parameter. The worker will then return the ceiling of the input data, rounded up to the nearest integer.

Example:

{
"dataExp": "12.3"
}

Result:

13