MULT
Type:
mult
• Category:indicators
Description
Vector Arithmetic Mult
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
real0 | string | First input array | no | |
real1 | string | Second input array | no |
Help
MULT
Vector Arithmetic Mult
Description
The MULT worker performs element-wise multiplication of two input arrays, real0
and real1
, and returns the result as an output array. This worker is particularly useful in financial markets for various calculations, such as computing returns, volatility, or other derived metrics.
What does this worker do?
The MULT worker takes two input arrays, real0
and real1
, and performs vector arithmetic multiplication. This operation multiplies corresponding elements from each input array to produce an output array of the same length.
How to interpret the results
The result of the MULT worker is an array where each element is the product of the corresponding elements from the input arrays real0
and real1
. This output can be used directly in subsequent calculations or as input for other workers.
Parameters
The following parameters are required for the MULT worker:
real0
- Type: string
- Description: First input array
real1
- Type: string
- Description: Second input array
Example Usage
To use the MULT worker, provide two input arrays as strings in the real0
and real1
parameters. The worker will return the element-wise product of these arrays.
JSON Schema:
{
"real0": "array1",
"real1": "array2"
}
Replace "array1"
and "array2"
with your actual input arrays.
Notes
- Ensure that both input arrays have the same length to avoid errors.
- The MULT worker assumes that the input arrays are numeric and can be multiplied.
- The output array will have the same data type as the input arrays.