Functions

Functions that can be called inside the grid parameters.

Market Data

The current market price of the latest traid on the market.

Orderbook from the market in the Orderbook structure.

Market candlesticks in the Candle structure.

Self orders in the Orderbook structure.

Calculates the volume-weighted average.

The amount of basic tokens up to a certain price.


Balances and Exchange info

Exchange information in Symbol structure.

Token balance of certain exchange in Balance structure.

Saved token balance of certain exchange in Balance structure.

The sum of the token balances from all exchanges in the group in Group Balace structure.


Calculations

Compute the arithmetic mean (average) of the given list elements.

Compute the median of the given list elements.

Returns max value of the given list elements.

Returns min value of the given list elements.

Calculates the exponent value.

Returns the absolute value of the given number.

Calculates the value of the natural logarithm.

Returns the number of the given list elements.

Random decimal value in range [0, 1].

Sum of the given list elements.


Other

Used to cache the results of calculating the cached_value formula for the ttl time in seconds.

Drop decimal(Nan) of the given list elements.

True if input Nan and False if input not Nan.

Last updated