# Math Operators

## Maximum

Definition: Calculates the maximum value of the input time series over a specified time period.
Syntax: `max(period)`
Arguments: `period` - the number of values to use in the calculation
Return: A time series of values representing the maximum value of the input time series.
Description: Maximum value is a technical indicator used in finance to identify the highest value of a set of price data over a specified time period.
Example:
max_values = ETH.close -> max(30)

## Minimum

Syntax: `min(period)`
Arguments: `period` - the number of values to use in the calculation
Return: A time series of values representing the minimum value of the input time series.
Description: Minimum value is a technical indicator used in finance to identify the lowest value of a set of price data over a specified time period.
Example:
min_values = ETH.close -> min(30)

## Sum

Syntax: `sum(period)`
Arguments: `period` - the number of values to use in the calculation
Return: A time series of values representing the sum over the specified period for the input time series.
Description: The sum function takes a time series as input and returns a new time series that is the sum over the specified period for the input series.
Example:
sum_values = ETH.close -> sum(30)