Get Simple Moving AverageGet Simple Moving Average
0x484428507A212cA56D71baa27Ca6089a6dB63a88
Actions · 15
Getcurrenttimestamp
Returns the current block timestamp as Unix seconds.Returns the current block timestamp as Unix seconds.
Getstartofcontaining
Returns the start timestamp of the hour, day, week, or larger interval containing a timestamp.Returns the start timestamp of the hour, day, week, or larger interval containing a timestamp.
Getpriceofin
Reads the latest Chainlink price of a base asset in a quote asset, normalized to 18 decimals.Reads the latest Chainlink price of a base asset in a quote asset, normalized to 18 decimals.
Setnestedmapvalueofininto
Writes a value into a two-level keyed map in the socket's persistent storage.Writes a value into a two-level keyed map in the socket's persistent storage.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Usewhere
tokenis
todayis
days_backis
price_running_totalis
Composes another plug inside this one.Composes another plug inside this one.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Endblock
Closes the innermost open block, whether a conditional branch or a loop.Closes the innermost open block, whether a conditional branch or a loop.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Bubble
Surfaces a value as an output of this plug.Surfaces a value as an output of this plug.
Bubble
Surfaces a value as an output of this plug.Surfaces a value as an output of this plug.