DocsFor agentsOperation catalog

Operation catalog

Every workflow operation, loaded live from the API.

Operations are the building blocks of a workflow. The catalog below is loaded live from GET https://api.indexone.io/schema — public, unauthenticated, and the same response the platform itself reads — so it cannot drift from what the engine will accept. As operations are added, this page changes with it.

Each entry carries an id, a name, a description, a category and a parameters schema. The id is what goes in an operation's operation field — copy it exactly, never guess it. The parameters schema gives each parameter's name, type and whether it is required; a parameter you invent is accepted as an unknown key and quietly does nothing, which is why reading the schema is worth the round trip.

Operations are wired together in two places, and both are required. In an operation's parameters, reference an upstream output with {"$ref": "<op_id>.output#column"}. Separately, list that upstream operation in the operation's input array — input is what builds the DAG and fixes execution order, while the $ref binds a specific column into a specific parameter. Supplying only the $ref leaves the parameter pointing at an operation the engine has no reason to run first. The golden path covers the convention and the structural rules in full.

All (98)
AI (1)
Control flow (2)
Transforms (19)
Data sources (26)
Delivery (11)
Index (17)
Machine learning (2)
Optimization (1)
Statistics (7)
Storage (2)
Triggers (4)
Utility (4)
Viewers (2)

AI

Parameters

FieldTypeDescription
promptrequiredstring
Instruction for the AI agent (e.g. 'filter to robotics companies', 'add a sentiment column').
dataobjectarraystring
Optional inline input data. If omitted, uses upstream outputs via $ref.
output_format"auto" | "dataframe" | "value" | "list" | "object"
Hint for desired output shape. Defaults to "auto".
max_output_tokensinteger
Maximum output tokens. Capped at 32768. Defaults to 16384.
thinking_level"MINIMAL" | "LOW" | "MEDIUM" | "HIGH"
Thinking/reasoning depth. The platform picks the model. Defaults to "MINIMAL".
Operation skeleton
{
"id": "my_step",
"operation": "ai_agent",
"parameters": {
"prompt": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Control flow

Parameters

FieldTypeDescription
signalrequirednumber
Scalar value to test — usually a $ref to a return/calculate op (add transform 'first' to collapse a 1-row column).
dataobject
DataFrame carried through to the selected branch. If omitted, the first DataFrame among the resolved inputs is used.
casesrequiredarray
Ordered cases; first match wins.
defaultstring
Output handle used when no case matches. Defaults to "default".
Operation skeleton
{
"id": "my_step",
"operation": "branch",
"parameters": {
"signal": "<number>",
"cases": "<array>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Control flow

Parameters

FieldTypeDescription
strategy"first" | "concat"
'first' passes through the first live branch; 'concat' returns all live branch outputs. Defaults to "first".
Operation skeleton
{
"id": "my_step",
"operation": "coalesce",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame to aggregate.
group_bystringarray
Column(s) to group by.
aggregationsarray
List of aggregation specs to compute per group.
Operation skeleton
{
"id": "my_step",
"operation": "aggregate",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame.
formulasarray
List of column computations to apply sequentially.
drop_nullsboolean
Drop rows with nulls in computed columns. Defaults to false.
Operation skeleton
{
"id": "my_step",
"operation": "calculate",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
datasetsrequiredarray
List of normalized datasets
entity_columnstring
Defaults to "entity".
time_columnstring
Defaults to "time".
coerce_timeboolean
Whether to coerce time columns to date format Defaults to true.
value_columnstring
Defaults to "value".
prefer_sourcesarray
drop_duplicatesboolean
Defaults to true.
aggregate_duplicates"mean" | "sum" | "last" | "first" | null
Operation skeleton
{
"id": "my_step",
"operation": "combine_timeseries",
"parameters": {
"datasets": "<array>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame.
factorsarray
Columns to combine, each with an optional weight.
outputstring
Defaults to "composite_score".
method"weighted_average" | "weighted_sum"
Defaults to "weighted_average".
Operation skeleton
{
"id": "my_step",
"operation": "composite_score",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
datasetsrequiredarray
Datasets to concatenate
outerboolean
Defaults to true.
dedupe_keysarray
sort_byarray
add_origin_columnstring
dataset_labelsarray
output_format"records" | "df"
Defaults to "df".
Operation skeleton
{
"id": "my_step",
"operation": "concatenate",
"parameters": {
"datasets": "<array>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame to filter.
filtersarray
Operation skeleton
{
"id": "my_step",
"operation": "filter",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
datarequiredobjectarray
A single DataFrame or list of DataFrames to convert.
reference_dataobject
DataFrame mapping id -> currency. If omitted, trading currency resolved from core_securities_reference; reporting currency from fundamentals. Columns auto-categorised: price cols use trading currency (with cents), marketCap uses trading (whole units), fundamentals use reporting currency.
target_currencystring
ISO currency code to convert to (e.g. USD, EUR, GBP). Defaults to "USD".
columnsarray
Columns to convert. Defaults to well-known numeric columns.
mode"suffix" | "replace"
'suffix' creates new columns; 'replace' converts in place. Defaults to "suffix".
drop_naboolean
Drop rows where FX conversion fails (missing rates or currency). Default true. Defaults to true.
suffixstring
Suffix for new columns (default: _<target_currency>).
id_columnstring
Column identifying the security. Defaults to "id".
date_columnstring
Column for temporal FX rate lookup. Defaults to "date".
currency_columnstring
Currency column in reference data. Defaults to "currency".
strike_timestring
Value the rows at the FX rate quoted at this instant (ISO datetime), from FMP's 1-minute bars, instead of the daily core_fx panel. For live valuation that runs after a settle delay but stamps at the close: pass the close. Pairs with no intraday bar fall back to the panel.
Operation skeleton
{
"id": "my_step",
"operation": "fx_converter",
"parameters": {
"data": "<object,array>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
data_leftrequiredobject
The left (primary) DataFrame. Required.
data_rightrequiredobject
The right DataFrame to join with. Required.
onstringarray
Column(s) to join on. Required for every join type EXCEPT 'cross', which takes no keys. For asof joins must be a single time/date column name.
how"inner" | "left" | "right" | "outer" | "cross" | "asof"
Defaults to "inner".
bystring
(asof only) Grouping key column — the asof match is performed within each group.
strategy"backward" | "forward" | "nearest"
(asof only) Direction of the asof match. 'backward' finds the nearest prior right row. Defaults to "backward".
suffixstring
Suffix for duplicate column names from the right side (standard joins only). Defaults to "_right".
Operation skeleton
{
"id": "my_step",
"operation": "join",
"parameters": {
"data_left": "<object>",
"data_right": "<object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
datarequiredarrayobject
DataFrame or list of dicts containing the source identifiers.
data_source_columnstring
Column in the input data to match, e.g. ticker. Defaults to symbol. Defaults to "symbol".
reference_source_columnstring
Column in securities reference to match against, e.g. symbol. Defaults to symbol. Defaults to "symbol".
reference_target_columnstring
Column in securities reference to copy into the result, e.g. id. Defaults to id / FIGI. Defaults to "id".
output_columnstring
Column name to write in the output data, e.g. figi. Defaults to id. Defaults to "id".
sourcesarray
Instrument sources in order (an operation id, or {operation, ...options}), for mapping to the id to hold. Empty: the index's. Defaults to [].
Operation skeleton
{
"id": "my_step",
"operation": "map_identifiers",
"parameters": {
"data": "<array,object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
datasetsrequiredarray
Two or more DataFrames to merge.
onrequiredarray
Column(s) to match rows on. Must exist in every dataset.
how"inner" | "left" | "outer"
Defaults to "inner".
Operation skeleton
{
"id": "my_step",
"operation": "merge",
"parameters": {
"datasets": "<array>",
"on": "<array>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
datarequiredany
Input dataset (records or DataFrame)
entity_columnstringarray
Entity column or fallback list
time_columnstringarray
Time column or fallback list
value_candidatesarray
output_columnsobject
Names for the three canonical output columns. Merged onto the defaults, so pass only the ones you are changing.
force_columnsobject
Constant columns stamped onto every output row: {name: value}.
rename_mapobject
Renames applied BEFORE column detection, so an odd input name can be mapped onto one the entity/time/value candidates already list.
drop_nullboolean
Defaults to true.
keep_extraboolean
Defaults to false.
Operation skeleton
{
"id": "my_step",
"operation": "normalize_timeseries",
"parameters": {
"data": "<value>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input (long/tidy) DataFrame.
indexrequiredstringarray
Column(s) identifying an output row (carried through unchanged).
onrequiredstring
Column whose distinct values become new column names.
valuesrequiredstring
Column supplying the cell values.
aggregate_function"first" | "last" | "sum" | "mean" | "min" | "max" | "median" | "len"
How to combine duplicate (index, on) cells. Defaults to "first".
prefixstring
Prepended to each generated column name. Defaults to "".
suffixstring
Appended to each generated column name. Defaults to "".
renameobject
Explicit {on_value: new_column_name}; overrides prefix/suffix for listed values.
Operation skeleton
{
"id": "my_step",
"operation": "pivot",
"parameters": {
"index": "<string,array>",
"on": "<string>",
"values": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame.
columnrequiredstringarray
Column(s) to rank by; a tie on one falls to the next, then to row order.
outputstring
Name of the rank column. Defaults to '{first column}_rank'.
method"ordinal" | "dense" | "percentile"
Defaults to "ordinal".
descendingbooleanarray
true = highest value gets rank 1. One value for every column, or a list with one per column. Defaults to true.
group_bystringarray
Optional column(s) for per-group ranking.
Operation skeleton
{
"id": "my_step",
"operation": "rank",
"parameters": {
"column": "<string,array>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
datarequiredobject
Dataset to rename/project.
mappingobject
Old column name -> new column name
add_columnsobject
Constant columns to inject: {name: value}
drop_missingboolean
Defaults to false.
selectarray
Final column projection
output_format"records" | "df"
Defaults to "df".
Operation skeleton
{
"id": "my_step",
"operation": "rename",
"parameters": {
"data": "<object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame.
group_bystringarray
Partition column(s); the window resets per group (e.g. security 'id'). Omit for one global series.
order_bystring
Time column to sort by within each group before windowing (e.g. 'date'). Strongly recommended.
formulasarray
List of time-series column computations to apply sequentially.
drop_nullsboolean
Drop rows with nulls in computed columns. Defaults to false.
Operation skeleton
{
"id": "my_step",
"operation": "series_calculate",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame to sort.
operationsarray
Sort steps applied sequentially.
Operation skeleton
{
"id": "my_step",
"operation": "sort",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame to split.
conditionobject
Condition evaluated per row; matching rows go to true_branch.
Operation skeleton
{
"id": "my_step",
"operation": "split_by_condition",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame.
columnsarray
Columns to winsorize.
lowernumber
Defaults to 0.01.
uppernumber
Defaults to 0.99.
group_bystring
Optional column for per-group winsorization.
suffixstring
If set, create new columns instead of overwriting.
Operation skeleton
{
"id": "my_step",
"operation": "winsorize",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Transforms

Parameters

FieldTypeDescription
dataobject
Input DataFrame.
columnsarray
Columns to normalize.
suffixstring
Appended to each column name. Defaults to "_zscore".
group_bystring
Optional column for per-group z-scores (e.g. sector, date).
drop_nullsboolean
Defaults to true.
Operation skeleton
{
"id": "my_step",
"operation": "z_score",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
drop_duplicatesbooleanarray
Drop duplicates across identifier columns. true = default keys (lei, isin, symbol, figi_share_class, figi_composite); or pass an explicit list of key columns. Per key column, the row with highest avg_total_volume wins; nulls are never duplicates. lei is an ISSUER key — it is what makes one line per COMPANY possible, collapsing share classes and cross-listings alike (GOOG with GOOGL, an ADR with its home line), which the figi keys cannot; funds are exempt from it because a whole fund umbrella shares one LEI. Indices that hold multiple share classes of one company (e.g. GOOG+GOOGL) must pass instrument-level keys only: ["isin", "symbol", "figi_share_class", "figi_composite"]. Defaults to true.
is_activeboolean
Keep only securities where is_active == True (or null). Archived records (is_archived) are dropped regardless of this setting. A security that is not currently trading but carries a delisted_at date still passes: this is a current-state flag, so the point-in-time is_listed screen decides that case instead — which keeps delisted names in backtests of the period they traded while still excluding them from live runs. Defaults to true.
is_listedboolean
Keep only securities listed at request_context.time: listed_at <= as_of (or null) AND delisted_at >= as_of (or null). Defaults to true.
attributesarray
Column projection
searchstring
Case-insensitive substring search across id, name, symbol, isin, fmp_symbol and FORMER symbols (a renamed line answers to its old ticker: EQR.US finds VMRK.US). Returns id, name, symbol (plus any requested attributes) of the top 50 matching rows in dataframe order. Defaults to null.
Operation skeleton
{
"id": "my_step",
"operation": "core_securities_reference",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataarrayobject
Table of securities (upstream output).
id_columnstring
Column holding platform ids. Defaults to "id".
idsarray
Platform ids, instead of a table.
level1 | 2 | 3 | 4
Sector level returned. Defaults to 4.
min_relevanceinteger
Minimum relevance (1-100). Defaults to 10.
min_confidenceinteger
Minimum confidence (0-100). Defaults to 20.
Operation skeleton
{
"id": "my_step",
"operation": "dcsc_exposures",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
level1 | 2 | 3 | 4
Defaults to 4.
sectorsarraystring
Sector slugs; default the top 'limit' of the level.
limitinteger
Defaults to 10.
period"1m" | "3m" | "1y" | "5y"
Defaults to "1y".
market_cap"all" | "large" | "mid" | "small"
Defaults to "all".
sort_by"performance" | "risk" | "performance_to_risk" | "future_performance" | "future_performance_to_risk"
Defaults to "performance_to_risk".
sort_order"asc" | "desc"
Defaults to "desc".
Operation skeleton
{
"id": "my_step",
"operation": "dcsc_sector_performance",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
level1 | 2 | 3 | 4
Only sectors of this level.
searchstring
Case-insensitive text matched against the sector path.
Operation skeleton
{
"id": "my_step",
"operation": "dcsc_sectors",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
sectorsrequiredarraystring
DCSC sector slugs, e.g. ['space-economy'].
level1 | 2 | 3 | 4
Level of the slugs. Defaults to 4.
max_securitiesinteger
Companies per sector (1-200). Defaults to 200.
min_relevanceinteger
Minimum relevance (1-100). Defaults to 10.
min_confidenceinteger
Minimum confidence (0-100). Defaults to 20.
countriesarraystring
DCSC's country codes, applied by DCSC, e.g. ['us', 'uk'] (DCSC writes UK for GB). Default all. The output country is the company's own: filter it for domicile; symbol is the listing matched.
company_type"public" | "private" | "both"
Defaults to "public".
Operation skeleton
{
"id": "my_step",
"operation": "dcsc_theme_universe",
"parameters": {
"sectors": "<array,string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
datarequiredarrayobject
Instrument ids: a DataFrame, a list of ids, or a list of dicts.
id_columnstring
Column / key holding the id when data is a DataFrame or list of dicts. Defaults to "id".
startstringnull
First adjustment date (ISO). Defaults to the run's date. Defaults to null.
endstringnull
Last adjustment date (ISO). Defaults to 90 days after start. Defaults to null.
kindsarray
Only these kinds (dividend, split, merger, spinoff, rights, delisting, ...). Empty: all. Defaults to [].
receivedarray
Instead of the ids' own events: those that deliver these ids (a line received, by its FIGI or the source's own id). Defaults to [].
sourcesarray
Event sources in order (an operation id, or {operation, groups}). Empty: the index's. Defaults to [].
Operation skeleton
{
"id": "my_step",
"operation": "events",
"parameters": {
"data": "<array,object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
attributesarray
Column projection
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_commodity",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
attributesarray
Column projection
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_eod",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataarrayobject
Security ids: a DataFrame, a list of ids, or a list of dicts. Omitted: every security.
id_columnstring
Column / key holding the id when data is a DataFrame or list of dicts. Defaults to "id".
startstringnull
First adjustment date (ISO). Defaults to the run's date. Defaults to null.
endstringnull
Last adjustment date (ISO). Defaults to 90 days after start. Defaults to null.
kindsarray
Only these kinds (dividend, split, merger, spinoff, rights, delisting, ...). Empty: all. Defaults to [].
receivedarray
Instead of the ids' own events: those that deliver these ids (a line received, by its FIGI or the source's own id). Defaults to [].
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_events",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
storage_type"quarterly" | "annual" | "ttm"
Which fundamental data view to query Defaults to "quarterly".
filtersarray
At least one filter is required.
attributesarray
Column projection
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_fundamentals",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
attributesarray
Column projection
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_fx",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
attributesarray
Column projection
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_macro",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
datarequiredarrayobject
DataFrame, list of identifier strings, or list of dicts. Identifiers may be security ids, currency pairs (USDEUR), or FX identity tokens (USD.FX).
id_columnstring
Column / dict key holding the identifier when data is a DataFrame or list of dicts. Defaults to "id".
datestringnull
Snapshot date (ISO). A past date reroutes to i1_core_eod as_of; today / null serves live quotes. Defaults to request_context.time. Defaults to null.
attributesarray
Value columns to return (subset of the EOD column set; date and id are always included). Defaults to all. Defaults to [].
tolerancenumberstring
Live only: max acceptable cache age. Number = seconds; ISO datetime string = absolute minimum fetched_at. Defaults to 60.
return_invalidboolean
If True, return rows for ids with no data (null values). If False, omit them. Defaults to true.
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_quote",
"parameters": {
"data": "<array,object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
attributesarray
Column projection
Operation skeleton
{
"id": "my_step",
"operation": "i1_core_rates",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
[{field: id, operator: in, value: [...]}], and any output column.
searchstring
Text the ticker, name or id contains: those assets.
attributesarray
Columns to return; id always.
Operation skeleton
{
"id": "my_step",
"operation": "i1_crypto_assets",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
[{field, operator, value}] on date, id and any output column.
attributesarray
Columns to return; id and date always.
Operation skeleton
{
"id": "my_step",
"operation": "i1_crypto_eod",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataarrayobject
Asset ids: a DataFrame, a list of ids, or a list of dicts. Omitted: every asset.
id_columnstring
Column / key holding the id when data is a DataFrame or list of dicts. Defaults to "id".
startstringnull
First adjustment date (ISO). Defaults to the run's date. Defaults to null.
endstringnull
Last adjustment date (ISO). Defaults to 90 days after start. Defaults to null.
kindsarray
Only these kinds (dividend, split, merger, spinoff, rights, delisting, ...). Empty: all. Defaults to [].
receivedarray
Instead of the ids' own events: those that deliver these ids (a line received, by its FIGI or the source's own id). Defaults to [].
Operation skeleton
{
"id": "my_step",
"operation": "i1_crypto_events",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataarrayobject
Asset ids (FIGI or dga_ id): a DataFrame, a list of ids or of dicts.
id_columnstring
The column holding the ids when data is a table. Defaults to "id".
datestringnull
Snapshot date. Omitted or today: live. Defaults to null.
attributesarray
Columns to return; id and date always.
Operation skeleton
{
"id": "my_step",
"operation": "i1_crypto_quote",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
datarequiredarrayobject
Underlyings: share ids, symbols or ISINs; a DataFrame, a list, or a list of dicts.
id_columnstring
The column holding the ids when data is a table. Defaults to "id".
datestringnull
The market date. Defaults to request_context.time. Defaults to null.
filtersarray
[{field, operator, value}] on any output column, or on date (gte/lte/between) for a window: a start alone runs to the run's day.
attributesarray
Columns to return; id and date always.
Operation skeleton
{
"id": "my_step",
"operation": "i1_options_chain",
"parameters": {
"data": "<array,object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
[{field: id, operator: in, value: [...]}].
searchstring
A contract's OCC symbol, FIGI or instrument id: its card.
attributesarray
Columns to return; id always.
Operation skeleton
{
"id": "my_step",
"operation": "i1_options_contracts",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
filtersarray
[{field, operator, value}] on id and on date.
attributesarray
Columns to return; id and date always.
Operation skeleton
{
"id": "my_step",
"operation": "i1_options_eod",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataarrayobject
Contract ids (FIGI or instrument_id): a DataFrame, a list of ids, or a list of dicts.
id_columnstring
Column / key holding the id when data is a DataFrame or list of dicts. Defaults to "id".
startstringnull
First adjustment date (ISO). Defaults to the run's date. Defaults to null.
endstringnull
Last adjustment date (ISO). Defaults to 90 days after start. Defaults to null.
kindsarray
Only these kinds (dividend, split, merger, spinoff, rights, delisting, ...). Empty: all. Defaults to [].
receivedarray
Instead of the ids' own events: those that deliver these ids (a line received, by its FIGI or the source's own id). Defaults to [].
Operation skeleton
{
"id": "my_step",
"operation": "i1_options_events",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataarrayobject
Contract ids (FIGI, OSI symbol or the service's own): a DataFrame, a list of ids or of dicts.
id_columnstring
The column holding the ids when data is a table. Defaults to "id".
datestringnull
Snapshot date. Defaults to today. Defaults to null.
attributesarray
Columns to return; id and date always.
Operation skeleton
{
"id": "my_step",
"operation": "i1_options_quote",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataarrayobject
Instrument ids: a DataFrame, a list of ids, or a list of dicts.
searchstring
In place of data: text a ticker, name or id contains. Every source's matches, an exact symbol or id first.
id_columnstring
Column / key holding the id when data is a DataFrame or list of dicts. Defaults to "id".
attributesarray
Columns to return (symbol, name, currency, mic, ...). Empty: all. Defaults to [].
sourcesarray
Instrument sources in order (an operation id, or {operation, ...options}). Empty: the index's. Defaults to [].
Operation skeleton
{
"id": "my_step",
"operation": "instruments",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
dataset_idrequiredstring
ID of the dataset to load
filtersarray
Standard row-level filters applied before as_of
as_ofobject
Temporal as-of look-up: returns the latest row(s) per group where time_column <= time
attributesarray
Column projection — only return these columns
Operation skeleton
{
"id": "my_step",
"operation": "load_dataset",
"parameters": {
"dataset_id": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Data sources

Parameters

FieldTypeDescription
datarequiredarrayobject
Instrument ids: a DataFrame, a list of ids, or a list of dicts.
id_columnstring
Column / key holding the id when data is a DataFrame or list of dicts. Defaults to "id".
datestringnull
Each id's price at this date (ISO). Omitted: the run's time, live when that is now. Defaults to null.
startstringnull
First date of a window of prices (ISO). Defaults to null.
endstringnull
Last date of a window of prices (ISO). Defaults to null.
datesarraynull
Exact dates of a window of prices (ISO). Defaults to null.
attributesarray
Price columns to return. Empty: all. Defaults to [].
carry"recent" | "any"
At a date: 'recent' only a print within the last few sessions, 'any' each id's last settled print however old (a held line's value). Defaults to "recent".
tolerancenumberstringnull
Live only: how old a quote may be. Number = seconds; ISO datetime = the oldest fetch accepted. Defaults to null.
sourcesarray
Price sources in order (an operation id, or {operation, ...options}). Empty: the index's. Defaults to [].
eventsboolean
A line no source priced at the price of the corporate action that delivered it, from the index's event sources (source: events). False: market prices alone. Defaults to true.
Operation skeleton
{
"id": "my_step",
"operation": "prices",
"parameters": {
"data": "<array,object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
index_idsarray
Target index ids. Defaults to the upstream trigger's fired indices, then the delivery's targets.
modulesobject
Section toggles, e.g. {"sector_chart": false}. Sections: description, fact_grid, methodology, performance_chart, returns_table, calendar_returns, risk_table, holdings_table, sector_chart, turnover_chart, volatility_chart, disclaimer. Merged over the index/team settings.
filename_templatestring
Supports {index_id}, {index_name}, {payload_type}, {date}, {yyyymmdd}, {timestamp}. Defaults to "{index_name}_factsheet_{date}.pdf".
storeboolean
Upload each PDF public-read to the export bucket and return {url} instead of inline bytes. Defaults to false.
colorsarray
Override the branding palette (ordered hex list, [0] = accent).
logo_keystring
Override the logo (key in the team files bucket).
emailstring
websitestring
disclaimerstring
display_weightings_countinteger
Defaults to 10.
vol_windowinteger
Rolling volatility window in sessions. Defaults to 63.
Operation skeleton
{
"id": "my_step",
"operation": "index_factsheet",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
index_idsarray
Target index ids. Defaults to the upstream trigger's fired indices, then the delivery's targets.
payload_typerequired"values" | "weightings" | "holdings" | "changes" | "corporate_actions" | "tracker_legacy"
values: index_id,time,value[,value_pr,...]. weightings: the rebalance target weights, one row per position. holdings: the book held, incl. shares/divisor — latest is priced at the file's time. changes: diff of the last two holdings snapshots (added/removed/rebalance). corporate_actions: one row per action. Defaults to "values".
history"latest" | "full"
latest = most recent snapshot (as_of), full = complete history. Defaults to "latest".
filename_templatestring
Supports {index_id}, {index_name}, {payload_type}, {date}, {yyyymmdd}, {timestamp}. Defaults to "{index_name}_{payload_type}_{date}.csv".
categorystringarray
Identifier to key positions by on weightings/holdings/changes panels (e.g. 'symbol'). Resolved through the securities reference; duplicates are summed. A list (e.g. ['symbol', 'isin']) keys by the first and adds one column per entry. Omit to keep the stored identifier (FIGI).
columnsobjectarray
Project/rename the output columns — {source: target} keeps only those columns in that order, a list keeps them unrenamed. Use it to emit exactly the header a partner expects, e.g. {"security": "id", "weight": "weight"}.
include_unchangedboolean
changes panel only: also emit rows for positions that did not change (the legacy tracker file listed them as 'hold'). Defaults to false.
filesarray
Build SEVERAL files in one node instead of one. Each entry accepts payload_type, history, category, columns, include_unchanged and filename_template; anything omitted falls back to this operation's own parameters. The artifacts are returned as one flat list, so a single send op delivers them all (e.g. a returns file plus a positions file).
Operation skeleton
{
"id": "my_step",
"operation": "index_panel",
"parameters": {
"payload_type": "values"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
instrument_idsrequiredobject
{index_id: alphabot_instrument_id}. An index with no entry is reported as a per-target failure.
index_idsarray
Targets. Defaults to the upstream trigger's fired indices, then the delivery's own targets.
urlstring
Defaults to "https://alphabot.net/public-api/v2/import".
retriesinteger
Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_alphabot",
"parameters": {
"instrument_ids": "<object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
index_uuidsrequiredobject
{index_id: alphathena saved-index uuid}.
index_idsarray
Targets. Defaults to the trigger's fired indices, then the delivery's.
urlstring
Defaults to "https://api.alphathena.com/saved-index".
retriesinteger
Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_alphathena",
"parameters": {
"index_uuids": "<object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
index_idsarray
Targets. Defaults to the upstream trigger's fired indices, then the delivery's own targets.
urlstring
Defaults to "https://decidere.com/api/push/bx".
retriesinteger
Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_decidere",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
dataarrayobject
File artifacts. If omitted, taken from the upstream input.
recipientsrequiredarray
Recipient email addresses.
subjectstring
Defaults to "Index delivery {date}".
bodystring
Defaults to "Please find the attached index files.".
retriesinteger
Attempts after the first before giving up. A send that still fails reports a warning, never an error, so the delivery re-fires on the next event instead of being parked. Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_email",
"parameters": {
"recipients": "<array>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
ric_maprequiredobject
{index_id: RIC}, e.g. {"idx_x": ".SPLTPR"}.
index_idsarray
Targets. Defaults to the trigger's fired indices, then the delivery's.
servicestring
Defaults to "DDS_TRCE".
retriesinteger
Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_refinitiv",
"parameters": {
"ric_map": "<object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
dataarrayobject
File artifacts. If omitted, taken from the upstream input.
bucketstring
Logical environment name or a literal bucket. Defaults to "EXPORT_BUCKET".
key_templatestring
Object key. Supports {team_id}, {index_id}, {index_name}, {payload_type}, {date}, {yyyymmdd}, {timestamp}, {filename}. Defaults to "{team_id}/{index_id}_{payload_type}_{date}.csv".
retriesinteger
Attempts after the first before giving up. A send that still fails reports a warning, never an error. Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_s3",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
dataarrayobject
File artifacts. If omitted, taken from the upstream input.
hostrequiredstring
portinteger
Defaults to 22.
usernamerequiredstring
passwordstring
Password auth (or use private_key).
private_keystring
PEM RSA private key (alternative to password).
directorystring
Remote target directory. Defaults to "/".
filenamestring
Override filename (defaults to each artifact's filename).
retriesinteger
Attempts after the first before giving up (the whole batch is retried, so a dropped transport re-uploads every file). A send that still fails reports a warning, never an error. Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_sftp",
"parameters": {
"host": "<string>",
"username": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
index_idsarray
Targets. Defaults to the trigger's fired indices, then the delivery's.
directorystring
Remote directory; the account root by default. Defaults to "".
retriesinteger
Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_stratifi",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Delivery

Parameters

FieldTypeDescription
dataobjectarraystring
Custom JSON payload (accepts $ref). If omitted, file artifacts from the upstream input are sent.
urlrequiredstring
Endpoint URL.
method"POST" | "PUT" | "PATCH"
Defaults to "POST".
headersobject
Extra HTTP headers (e.g. auth). Defaults to {}.
per_indexboolean
One request per index artifact (true) or a single bundled request (false). Defaults to true.
authobject
Optional pre-flight token fetch, performed immediately before the send on every run (never as an upstream node, which would be executed once at registration and reused forever). {url, method?, headers?, body?, token_path?, header?, prefix?}.
retriesinteger
Attempts after the first for 408/429/5xx and transport errors (4xx is not retried). A send that still fails reports a warning, never an error, so the delivery re-fires on the next event. Defaults to 2.
Operation skeleton
{
"id": "my_step",
"operation": "send_webhook",
"parameters": {
"url": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Index
Operation skeleton
{
"id": "my_step",
"operation": "create_index",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
dataset_idstring
The index's ad-hoc dataset (dst_...).
eventsarray
Ad-hoc rebalances, each {id, date, session, reason, by, at}.
Operation skeleton
{
"id": "my_step",
"operation": "create_index_adhoc_default",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
index_idstring
Index ID
timestring
Run time for the adjustment pass (defaults to context.time)
lookback_daysinteger
Days back from run_time to include events / re-evaluate Defaults to 30.
lookforward_daysinteger
Days forward from run_time to schedule next event lookup Defaults to 30.
cronstring
Optional 6-field cron override. Default runs at exchange close minus 30 minutes, following to the next trading day when needed.
minute_offsetinteger
Minute offset from the exchange session close for the default regular schedule. Defaults to -30.
open_timestring
Fallback open time for applying corporate actions when no exchange calendar is configured. Defaults to 00:00:00 in the index timezone.
currencystring
Index currency for dividend FX conversion. 'local' disables FX conversion. Defaults to "local".
include_future_projectionsboolean
When true, future scheduled ledger rows may include projected FX and impact fields. Default stores only static future action fields. Defaults to false.
special_dividend"price" | "total_return" | "owner"
A special (extraordinary) cash dividend. 'price': every series adjusts, price return included (S&P, FTSE, STOXX; MSCI from 5%). 'total_return': treated as a regular dividend: reinvested in the total-return series only. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "price".
special_dividend_thresholdnumbernull
A special dividend below this fraction of the prior close is treated as regular (MSCI: 0.05). 0: every special. Defaults to 0.
return_of_capital"price" | "total_return" | "owner"
Cash paid out of capital while the holding carries on: a capital repayment, a liquidation distribution. 'price': every series adjusts, price return included. 'total_return': treated as a regular dividend. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "price".
election"default" | "cash" | "securities" | "cash_and_securities" | "owner"
Which option the index takes where holders choose: a cash-or-stock merger, a scrip dividend. One the event lacks falls back to its default. 'default': what a holder who does nothing gets. 'cash': the cash option. 'securities': the stock option. 'cash_and_securities': the mixed option. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "default".
tender"no_action" | "tender" | "owner"
A voluntary offer: a takeover bid, a buyback, an exchange offer. 'no_action': the index keeps its shares; the line leaves when the deal completes or it delists. 'tender': the index tenders, and gets what the offer accepted. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "no_action".
rights"reinvest" | "take_up" | "ignore" | "owner"
A rights issue priced below the prior close. One at or above it is never adjusted. 'reinvest': the rights' value goes back into the security: its weight holds, no divisor change (non-market-cap practice). 'take_up': subscribed in full, paid for across the index: its weight grows (market-cap practice). 'ignore': no adjustment: the index takes the dilution. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "reinvest".
spinoff_treatment"keep" | "pro_rata" | "reinvest" | "cash" | "owner"
A spin-off, demerger or distribution in kind. 'keep' needs the new line identified: else pro rata. 'keep': the spun-off line joins the index until the next rebalance. 'pro_rata': its value is reinvested across the index. 'reinvest': its value is reinvested in the parent. 'cash': its value is held as cash until the next rebalance. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "pro_rata".
proceeds"pro_rata" | "cash" | "owner"
Cash received for a holding that leaves: merger consideration, a redemption, a delisted line's value. 'pro_rata': reinvested across the remaining constituents. 'cash': held as cash until the next rebalance. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "pro_rata".
acquirer_not_held"sell" | "keep" | "owner"
Stock received for a holding that ends, in a company the index does not hold. One it holds always takes the shares. 'sell': the stock received is sold: its value follows 'proceeds'. 'keep': the stock received joins the index until the next rebalance. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "sell".
delisting_price"last" | "otc" | "zero" | "owner"
The price a line leaves at when nothing is paid for it: a delisting, a bankruptcy, a long suspension. 'last': its last traded price. 'otc': its over-the-counter price where one is stated, else the last. 'zero': written off. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "last".
bankruptcy"hold" | "remove" | "owner"
An issuer entering insolvency while its line still trades. 'hold': held until the line is delisted. 'remove': removed when the filing takes effect. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "hold".
suspension_sessionsintegernull
Remove a holding suspended for this many sessions without resuming, at 'delisting_price' (FTSE 20+20, Nasdaq 40, MSCI 50). Empty: held. Defaults to null.
unlisted_assets"value" | "ignore" | "owner"
An asset received that no market prices: an unlisted share, a right to a later payment. 'value': treated as any line received, at the price of its event while no market prices it. 'ignore': not recognised: written off (S&P, STOXX, FTSE). 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "value".
depositary_fees"ignore" | "deduct" | "owner"
A depositary's fee on a receipt's dividend. 'ignore': dividends are reinvested gross of them. 'deduct': taken off the dividend. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "ignore".
holder"international" | "domestic" | "owner"
Whose position the index takes where an event does not reach every holder. 'international': events open to every holder. 'domestic': also those reserved for domestic holders. 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "international".
late_events"restate" | "jump" | "owner"
An event applied, amended or withdrawn after values were published since its date, within the lookback: one approved, found or corrected late. 'restate': the values published since its date are restated. 'jump': the book and divisors still change from its date, but published values stand: the next value takes the jump (an index a fund tracks). 'owner': decided event by event (decisions); undecided on the day, the index holds as it is. Defaults to "restate".
decisionsobject
The owner's decision on single events: {event_id: {<any choice above>: value, apply: false to leave the event out}}. Overrides the index's choice for that event only. Defaults to {}.
Operation skeleton
{
"id": "my_step",
"operation": "create_index_corporate_actions_default",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
weightingobject
Weighting object with holdings array, or rows of security (or id) with a target each: weight (of the index value the book is sized at), else units, else notional (index currency). If omitted, fetches latest weightings.
trade"book" | "lines"
What a held line the weighting does not name does. book: it is sold, the weighting is the whole book. lines: it keeps its units, so the weighting names only the lines that trade (a 0 target closes one) and cash takes the difference: an option bought or written, a single name added, between reweights. An empty or absent weighting trades nothing and writes no book. Needs an index currency. It applies no weight limits; set them on the weighting upstream (create_index_weighting constraints). Defaults to "book".
price_dataobject
Price data as dict or DataFrame, already in the index's currency. If omitted, fetches from core_eod (with FX conversion when index currency is set) — prefer omitting this rather than supplying it, since supplied data is NOT currency-converted.
index_idstring
Index id (defaults to context.request_context.index_id)
timestring
Time for the holdings (defaults to context.request_context.time)
index_valuenumber
Index value for share calculation.
divisornumber
Divisor for share calculation.
Operation skeleton
{
"id": "my_step",
"operation": "create_index_holdings",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
universearray
List of securities in the universe
identifierstringarray
The identifier type of the ids (security_id, isin, figi_share_class, ...): one for all, or one per id. Omitted: the index's id_type.
timestringnull
Optional time for the universe creation
Operation skeleton
{
"id": "my_step",
"operation": "create_index_universe",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
holdingsarray
Index holdings. If omitted, fetches the latest holdings as of time.
price_dataobject
Price data DataFrame with id/date and price columns.
idstring
Index ID
timestring
price_attributestring
Price column: splitAdjClose (backtest) or close (live). Default: adjClose.
value_seriesarray
Value series to compute: [{id, dividend_policy?, withholding_tax_rate?, default?}] (with dividend_policy = TR/NTR), or a derived series {id, base: <series id>, adjustments: [{type: 'fee'|'interest'|'borrow'|'lend', ...}], default?} chained on its base. withholding_tax_rate: a system table's name ('non_treaty'), a rate (0.15), or a table {default, country, rates, rules} (see create_index_value_eod_default).
anchor_valuesobject
Previous batch ending values for chaining.
Operation skeleton
{
"id": "my_step",
"operation": "create_index_value_eod",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
idstring
Index ID
timestring
Optional time for the index value
cronstring
Optional 6-field cron override (sec min hour ...). When set, the index strikes at the cron's times (in its timezone) instead of each calendar session or every day at eod_time, with no calendar alignment by default; live, each strike settles like the default schedule's.
realtimeboolean
When True (and execution_mode==live), price holdings via i1_core_quote rather than i1_core_eod, producing a mark-to-market value at the current wall-clock time. Falls back to EOD when any value series requires adjClose.
Operation skeleton
{
"id": "my_step",
"operation": "create_index_value_eod_default",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
dataarrayobject
Securities input. Accepts: list of IDs, list of dicts, DataFrame, or index universe object. If omitted, fetches latest index universe.
index_idstring
Index id (defaults to context.request_context.index_id)
id_attributestring
Column/key name for the security identifier. Auto-detected from 'security', 'id', 'symbol', 'figi' if not set.
weighting_type"equal" | "proportional" | "inverse" | "power" | "rank" | "tiered" | "custom"
How a raw weight comes off the data. equal: 1/N. proportional: w proportional to weight_attribute (market cap, revenue, float). inverse: w proportional to 1/weight_attribute (inverse volatility / inverse cap). power: w proportional to weight_attribute^power (0.5 = square-root-of-cap tilt). rank: w proportional to rank position, so only the ordering matters. tiered: fixed weights by position band. custom: use weight_attribute AS-IS, signed (negative = short). Defaults to "equal".
weight_attributestring
Column holding the value the scheme reads. Required for proportional / inverse / power / rank / custom. Defaults to "weight".
powernumber
Exponent for weighting_type 'power'. 0.5 = square root of market cap, 1 = proportional, -1 = inverse.
sort_bystring
Column that orders the data before tiered/rank weighting (largest first by default). Without it the incoming row order is used.
descendingboolean
Sort direction for 'sort_by' and for rank weighting. True = the highest value gets the biggest weight. Defaults to true.
negative_values"error" | "zero" | "abs" | "shift"
What to do when the value column holds negative (or, for inverse/power, non-positive) numbers — a z-scored factor does. error: refuse. zero: drop those names. abs: use the magnitude. shift: move the whole column up so the smallest becomes zero. Ignored for 'custom', where the sign IS the position. Defaults to "error".
tiersarray
Required for tiered weighting. Each tier takes count or pct of securities, plus weight (per security) or total_weight (split across the tier). Last tier can use 'remaining: true'.
side_columnstring
Column marking each name long or short (long/short, buy/sell, +1/-1). Lets a plain selection become a long/short book — the scheme then sizes each leg and long_exposure/short_exposure set the leg totals. Without it, the sign of the weight column decides the side.
long_exposurenumber
Total weight of the long leg (1.3 = 130% long). Give any TWO of long/short/net/gross_exposure and the rest are derived.
short_exposurenumber
Total weight of the short leg, written negative (-0.3 = 30% short).
net_exposurenumber
long minus short (1.0 = fully invested, 0 = market neutral).
gross_exposurenumber
long plus short (1.6 = 160% gross, the 130/30 book).
leveragenumber
Scales the whole book after the exposure targets: 1.5 = 150% exposure financed by a -0.5 cash leg (added automatically), 0.6 = 60% invested / 40% cash, -1 = daily-reset inverse. Accepts a $ref to a workflow-computed scalar, e.g. a volatility-target factor min(1, target/realized).
constraintsarray
Caps and floors, applied last — to the final levered book, so a bound means what it says. Every entry picks UNITS and bounds them: a unit is one position, or one group value when 'column' is set. Freed weight is always redistributed within the same side, so long/short exposures survive capping. Examples: 5% per name [{scope:'security',max:0.05}]; 30% per sector [{scope:'group',column:'sector',max:0.30}]; QQQ-style top-5 cap [{scope:'top_n',n:5,max:0.40}]; UCITS 5/40 [{scope:'above',threshold:0.05,max:0.40}]; liquidity cap [{scope:'security',max_column:'adv_cap'}]. Infeasible bounds (5% over 15 names) raise rather than quietly shipping a book that breaks the rule.
rule"ucits_5_10_40" | "ucits_20_35" | "ric_25_50" | "nasdaq_100_special"
A named methodology preset that expands into ordinary 'constraints' rows (and merges with any you also supply). ucits_5_10_40: 10% per issuer, issuers above 5% sum to at most 40%. ucits_20_35: 20% per issuer, one may reach 35%. ric_25_50: US ETF diversification — 25% per name, names above 5% sum to at most 50%. nasdaq_100_special: 20% per name, names above 4.5% sum to at most 40%.
cap_basis"nav" | "leg" | "gross"
What a bound is a fraction OF. nav: of the index (5% means 5% of the index). leg: of that side's own exposure (5% of a 130% long leg = 6.5% of the index). gross: of long plus short. Defaults to "nav".
redistribution"pro_rata" | "equal"
How weight freed by a cap is handed out: in proportion to existing weights, or split evenly between the names that can still take it. Defaults to "pro_rata".
on_infeasible"error" | "relax" | "cash"
When the constraints cannot all hold at once. error: refuse and say which bound and why (default — a silently non-compliant index is worse than a failed run). relax: deliver the closest book and report the breach as a warning. cash: park the weight that cannot be placed in cash. Defaults to "error".
max_iterationsinteger
Cap on the joint-constraint solve loop. Defaults to 50.
round_tonumber
Round the published weights to this many decimals, putting the rounding residual on each side's largest position so the exposures stay exact.
drop_naboolean
Drop rows with a null value in weight_attribute before weighting. Default true. Defaults to true.
Operation skeleton
{
"id": "my_step",
"operation": "create_index_weighting",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
backtest_idstringarray
Backtest id or list of ids
categorystringarray
Any column the backtest's instrument sources give (e.g. sector; underlying_figi rolls each option line onto its underlying's own line); a line no source describes keeps its id. A list keys by the first and adds a column per entry.
limitinteger
Return only top N holdings per snapshot
fieldsstringarray
Optional top-level keys to return from each backtest object (e.g. ['index_parameters']); omit for the full object
Operation skeleton
{
"id": "my_step",
"operation": "get_backtests",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
idstringarray
Index id or list of ids (defaults to the current index)
filtersarray
Optional filters on field=time. Operators: as_of (single latest row at-or-before value; defaults to the request time when value omitted — the standard 'latest snapshot' selector), gte/gt/lte/lt/between/eq for range bounds, or lte_as_of for the latest row at-or-before value plus every row after it.
format"df" | "dict"
df (default): one row per action. dict: raw ledger rows, one list per action type. Defaults to "df".
Operation skeleton
{
"id": "my_step",
"operation": "get_index_corporate_actions",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
index_idstring
Index ID
limitinteger
Return last N executions
Operation skeleton
{
"id": "my_step",
"operation": "get_index_executions",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
idstringarray
Index id or list of ids (defaults to the current index)
categorystringarray
Any column the index's instrument sources give (e.g. sector; underlying_figi rolls each option line onto its underlying's own line); a line no source describes keeps its id. A list keys by the first and adds a column per entry.
limitinteger
Return only top N holdings by weight
filtersarray
Optional filters on field=time. Operators: as_of (single latest row at-or-before value; defaults to the request time when value omitted — the standard 'latest snapshot' selector), gte/gt/lte/lt/between/eq for range bounds, or lte_as_of which returns the latest row at-or-before value plus every row after it (use this to fetch a window with a guaranteed baseline anchor).
format"df" | "dict"
df (default): one row per security. dict: raw stored records with a nested holdings list (single record for an as_of snapshot of one id). Defaults to "df".
driftboolean
as_of snapshot of one id only: the book held at that time, its shares on that day's basis and weights at that time's prices (today's live quotes, a past date's settled closes), instead of the weights stored at its last rebalance or corporate action. The stored row when the book cannot be fully priced. Defaults to false.
Operation skeleton
{
"id": "my_step",
"operation": "get_index_holdings",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
idstring
Index id (defaults to the current index)
Operation skeleton
{
"id": "my_step",
"operation": "get_index_parameters",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
idstringarray
Index id or list of ids (defaults to the current index)
filtersarray
Optional filters on field=time. Operators: as_of (single latest row at-or-before value; defaults to the request time when value omitted — the standard 'latest snapshot' selector), gte/gt/lte/lt/between/eq for range bounds, or lte_as_of which returns the latest row at-or-before value plus every row after it.
format"df" | "dict"
df (default): one row per security. dict: raw stored records with a nested holdings list (single record for an as_of snapshot of one id). Defaults to "df".
Operation skeleton
{
"id": "my_step",
"operation": "get_index_universe",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
idstringarray
Index id or list of ids (defaults to the current index)
filtersarray
Optional filters on field=time. Operators: as_of (single latest row at-or-before value; defaults to the request time when value omitted — the standard 'latest snapshot' selector), gte/gt/lte/lt/between/eq for range bounds, or lte_as_of for the latest row at-or-before value plus every row after it.
format"df" | "dict"
df (default): one DataFrame row per stored record. dict: raw record dicts (single dict for an as_of snapshot of a single id). Defaults to "df".
adjustmentsboolean
Return what each series bore instead: one row per time x series x adjustment with its inputs (rate, tau) and effect (points, return) — e.g. the fee charged each day, or the tax a dividend series withheld (adjustment 'withholding'). Signed: a cost is negative; any flow over a span is the sum of its points. Defaults to false.
Operation skeleton
{
"id": "my_step",
"operation": "get_index_values",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
idstringarray
Index id or list of ids (defaults to the current index)
filtersarray
Optional filters on field=time. Operators: as_of (single latest row at-or-before value; defaults to the request time when value omitted — the standard 'latest snapshot' selector), gte/gt/lte/lt/between/eq for range bounds, or lte_as_of for the latest row at-or-before value plus every row after it.
format"df" | "dict"
df (default): one row per security. dict: raw stored records with a nested holdings list (single record for an as_of snapshot of one id). Defaults to "df".
Operation skeleton
{
"id": "my_step",
"operation": "get_index_weightings",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Index

Parameters

FieldTypeDescription
stage"live" | "pending" | "backtest" | "failed"
Lifecycle stage to keep (live = deployed and calculating, pending = mid-deploy, backtest = simulation only, failed = deploy failed). Omit for every stage. Defaults to null.
status"live" | "pending" | "backtest" | "failed"
Alias of 'stage' (selects the same field); takes precedence over it.
status_valuesarray
Keep several stages at once, e.g. ['live','pending']. Used only when stage/status are unset.
searchstringnull
Case-insensitive name substring filter
format"df" | "dict"
df (default): one row per index, scalar metadata columns only. dict: full index parameter docs. Defaults to "df".
Operation skeleton
{
"id": "my_step",
"operation": "get_indices",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Machine learning

Parameters

FieldTypeDescription
dataobject
Training DataFrame (Polars).
target_columnrequiredstring
Dependent variable column.
model"linear_regression" | "ridge" | "lasso" | "elastic_net" | "logistic_regression" | "random_forest_regressor" | "random_forest_classifier" | "gradient_boosting_regressor" | "gradient_boosting_classifier" | "lightgbm" | "lightgbm_regressor" | "lightgbm_classifier"
Estimator to use. 'lightgbm' (regressor alias) / 'lightgbm_classifier' are gradient-boosted trees that handle missing values and categoricals. Defaults to "linear_regression".
feature_columnsarray
Feature columns. Defaults to every numeric column except the target (plus any categorical_columns).
categorical_columnsarray
Feature columns to treat as categorical (LightGBM only). Passed to the model natively; the fit-time category order is stored so predictions line up. Non-LightGBM models reject this.
hyperparametersobject
Passed straight to the estimator constructor (e.g. LightGBM n_estimators, num_leaves, learning_rate, min_child_samples, reg_alpha, reg_lambda, extra_trees, random_state).
Operation skeleton
{
"id": "my_step",
"operation": "model_fit",
"parameters": {
"target_column": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Machine learning

Parameters

FieldTypeDescription
dataobject
Input DataFrame to predict on.
modelobject
Model bundle from model_fit or get_storage. If omitted, taken from inputs.
output_columnstring
Column name for predictions. Defaults to "prediction".
on_missing_column"nan" | "raise"
Behaviour when input lacks a feature column the model was fitted on. Defaults to "nan".
Operation skeleton
{
"id": "my_step",
"operation": "model_predict",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Optimization

Parameters

FieldTypeDescription
price_dataobject
Long-format DataFrame with id, date, and price columns. Auto-detects price column (adjClose, splitAdjClose, close, price, value).
returnsobject
DataFrame of periodic returns (rows=dates, columns=assets). Provide this, 'price_data', or 'covariance_matrix'.
covariance_matrixobject
Square DataFrame (assets x assets) of covariances.
asset_dataobject
DataFrame mapping assets to properties (sector, country, etc.) for group_by constraints.
objective"min_variance" | "max_sharpe" | "max_return" | "mean_variance_utility" | "risk_parity" | "min_tracking_error" | "min_transaction_cost"
Optimisation objective. 'mean_variance_utility' maximises mu'w - risk_aversion*w'Sigma w. Defaults to "min_variance".
risk_aversionnumber
Risk-aversion lambda for the 'mean_variance_utility' objective (higher = more risk-averse). Requires expected_returns. Defaults to 1.
price_columnstring
Override price column name in the price_data DataFrame.
expected_returnsobjectarray
Expected returns per asset. Required for max_sharpe, max_return, min_transaction_cost.
benchmark_returnsobjectarray
Benchmark returns per asset (for tracking-error objective).
current_weightsobjectarray
Current portfolio weights (for transaction-cost objective).
long_onlyboolean
If true, all weights >= 0. Defaults to true.
sum_to_oneboolean
If true, weights sum to 1.0. Defaults to true.
min_weightnumber
Lower bound per asset weight.
max_weightnumber
Upper bound per asset weight (e.g. 0.10).
target_returnnumber
Required portfolio return (equality constraint).
target_risknumber
Maximum portfolio volatility.
risk_free_ratenumber
Defaults to 0.
transaction_costnumber
Proportional cost per unit of turnover (e.g. 0.001 for 10bps). Defaults to 0.
constraintsarray
Array of linear constraints: {type: 'eq'|'ineq', value, assets|coefficients|group_by}.
risk_model"ledoit_wolf" | "sample" | "exp_weighted"
Covariance estimation method. Defaults to "ledoit_wolf".
frequencyinteger
Periods per year for annualisation. Defaults to 252.
spaninteger
EWM span for exp_weighted risk model.
shrinkagenumber
Explicit identity-shrinkage intensity 0..1 applied to the estimated covariance (e.g. 0.10 for the 0.10mean_diagI + 0.90*Sigma estimator). Omit to keep model defaults.
shrinkage_target"mean_diag" | "identity"
Shrinkage target: mean_diag = mean-variance * I (default), identity = I. Defaults to "mean_diag".
equity_risk_premiumnumber
Annualised ERP for CAPM estimation.
benchmark_returns_tsarray
Benchmark returns time series for CAPM beta estimation.
max_iterinteger
Max SLSQP iterations for the constrained scipy solve (box + sum-to-one + group caps). Raise if the solver reports non-convergence. Ignored by the cvxpy backend. Defaults to 200.
ftolnumber
SLSQP convergence tolerance for the constrained scipy solve. Defaults to 1e-8.
solver"auto" | "cvxpy" | "scipy"
Backend for convex objectives (min_variance, max_return, mean_variance_utility, min_tracking_error, min_transaction_cost). 'cvxpy' forces the conic solver (robust for group/box-constrained QPs); 'scipy' forces the native SLSQP path; 'auto' uses cvxpy only for constrained convex problems when installed. Non-convex objectives (max_sharpe, risk_parity) always use scipy. Defaults to "auto".
cvxpy_solverstring
Underlying cvxpy solver name when solver uses the cvxpy backend (e.g. CLARABEL, OSQP, SCS, ECOS). Defaults to "CLARABEL".
Operation skeleton
{
"id": "my_step",
"operation": "optimizer",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Statistics

Parameters

FieldTypeDescription
dataobject
Input DataFrame
price_columnrequiredstring
time_columnrequiredstring
group_by_columnstring
filter_timestring
output_column_namestring
Defaults to "max_drawdown".
Operation skeleton
{
"id": "my_step",
"operation": "max_drawdown",
"parameters": {
"price_column": "<string>",
"time_column": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Statistics

Parameters

FieldTypeDescription
dataobject
Input DataFrame
price_columnrequiredstring
Column containing asset prices
time_columnrequiredstring
Column containing timestamps
group_by_columnstring
Optional grouping column (e.g. 'id')
windowinteger
Size of the return window. Formula: return[t] = price[t+shift] / price[t+shift-window] - 1. window=1,shift=0 -> trailing 1-period; window=N,shift=N -> N-period forward. Defaults to 1.
shiftinteger
Offset of the window end: negative looks further into the PAST (skip-period returns, e.g. 12-1 momentum = window 231, shift -21), positive is forward-looking. return[t] = price[t+shift] / price[t+shift-window] - 1. Defaults to 0.
trading_days_per_yearinteger
Defaults to 252.
annualizedboolean
Defaults to false.
filter_timestring
Return each security's value as of this date (e.g. the rebalance date).
latestboolean
If true, return only the last row per group. Combined with filter_time returns the last row per group on or before that date. Defaults to false.
output_column_namestring
Defaults to "return".
Operation skeleton
{
"id": "my_step",
"operation": "return",
"parameters": {
"price_column": "<string>",
"time_column": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Statistics

Parameters

FieldTypeDescription
dataobject
Input DataFrame
price_columnrequiredstring
time_columnrequiredstring
group_by_columnstring
trailing_periodsinteger
trading_days_per_yearinteger
Defaults to 252.
risk_free_ratenumber
Defaults to 0.
min_periodsinteger
Defaults to 2.
filter_timestring
output_column_namestring
Defaults to "sharpe_ratio".
Operation skeleton
{
"id": "my_step",
"operation": "sharpe_ratio",
"parameters": {
"price_column": "<string>",
"time_column": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Statistics

Parameters

FieldTypeDescription
dataobject
Input DataFrame
price_columnrequiredstring
time_columnrequiredstring
group_by_columnstring
trailing_periodsinteger
trading_days_per_yearinteger
Defaults to 252.
risk_free_ratenumber
Defaults to 0.
min_periodsinteger
Defaults to 2.
filter_timestring
output_column_namestring
Defaults to "sortino_ratio".
Operation skeleton
{
"id": "my_step",
"operation": "sortino_ratio",
"parameters": {
"price_column": "<string>",
"time_column": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Statistics

Parameters

FieldTypeDescription
dataobject
Input DataFrame
price_columnrequiredstring
Column containing asset prices
benchmark_price_columnrequiredstring
Column containing benchmark prices
time_columnrequiredstring
group_by_columnstring
trailing_periodsinteger
trading_days_per_yearinteger
Defaults to 252.
annualizedboolean
Defaults to true.
min_periodsinteger
Defaults to 2.
filter_timestring
output_column_namestring
Defaults to "tracking_error".
Operation skeleton
{
"id": "my_step",
"operation": "tracking_error",
"parameters": {
"price_column": "<string>",
"benchmark_price_column": "<string>",
"time_column": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Statistics

Parameters

FieldTypeDescription
dataobject
Holdings or weightings history (one row per security per event); shares column enables embedded-price drift.
pricesobject
Optional long price frame (time/security/price, any superset of the event times, as-of joined) in the INDEX BASE currency.
actionsobject
Optional split actions (time/security/ratio) applied to prior shares — only used with the shares drift mode.
time_columnstring
Defaults to "time".
security_columnstring
Defaults to "security".
weight_columnstring
Defaults to "weight".
shares_columnstring
Defaults to "shares".
price_columnstring
Defaults to "price".
thresholdnumber
Turnover below this clamps to 0 (numeric drift noise). Defaults to 0.000001.
detailboolean
One row per security per event instead of one per event: the weight held going in (drifted to the event's prices) as '<weight>_before', the weight after, and the event's turnover on every row. Defaults to false.
output_column_namestring
Defaults to "turnover".
Operation skeleton
{
"id": "my_step",
"operation": "turnover",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Statistics

Parameters

FieldTypeDescription
dataobject
Input DataFrame
price_columnrequiredstring
Column containing price data
time_columnrequiredstring
Column containing date data
group_by_columnstring
Column to group by (e.g. symbol)
trailing_periodsinteger
Periods for rolling volatility. If omitted, uses expanding window.
trading_days_per_yearinteger
Defaults to 252.
filter_timestring
Return volatility only at this date
annualizedboolean
Defaults to true.
min_periodsinteger
Defaults to 2.
output_column_namestring
Defaults to "volatility".
weight_columnstring
PORTFOLIO mode: per-security weight column (requires group_by_column). Collapses the weighted basket into one return series and returns ITS volatility — use for volatility-target overlays.
Operation skeleton
{
"id": "my_step",
"operation": "volatility",
"parameters": {
"price_column": "<string>",
"time_column": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Storage

Parameters

FieldTypeDescription
keystring
Exact sub-path under storage/{index_id}/.
prefixstring
Sub-path prefix to search; latest object wins.
latestboolean
When prefix is set, return the most recently modified object (default true) rather than the lexicographically last. Defaults to true.
index_idstring
Override index id (defaults to context.request_context.index_id).
bucketstring
Override bucket (defaults to DATA_BUCKET).
Operation skeleton
{
"id": "my_step",
"operation": "get_storage",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Storage

Parameters

FieldTypeDescription
dataobject
Object to store. If omitted, taken from the upstream input.
pathrequiredstring
Sub-path under storage/{index_id}/. Supports {timestamp} and {date} placeholders.
format"auto" | "pickle" | "parquet" | "json"
Serialisation format. 'auto' picks based on object type. Defaults to "auto".
index_idstring
Override index id (defaults to context.request_context.index_id).
bucketstring
Override bucket (defaults to DATA_BUCKET).
Operation skeleton
{
"id": "my_step",
"operation": "put_storage",
"parameters": {
"path": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Triggers

Parameters

FieldTypeDescription
dataset_idrequiredstring
Id of the team dataset to watch (dst_..., from list_datasets).
time_columnstring
Column name containing timestamps that define the trigger schedule. Defaults to "date".
mode"incremental" | "full" | "all"
Output mode: 'incremental' = only rows matching the trigger time, 'full' = all rows up to current time, 'all' = entire dataset. Defaults to "incremental".
skiparray
Scheduled sessions that do NOT fire (each {date, session}): an ad-hoc rebalance replacing them, or a rebalance skipped on purpose.
timezonestringnull
IANA timezone applied before evaluation; null falls back to the index default. Defaults to null.
alignment_enabledboolean
Align schedule to a trading calendar instead of literal dates. Defaults to false.
trading_calendarstringnull
Trading calendar ISO symbol (e.g., XNYS) used for alignment. Defaults to null.
trading_day"preceding" | "following"
Choose nearest trading day on/before (preceding) or on/after (following) the date. Defaults to "preceding".
align_timeboolean
When true, use trading session open/close times instead of the literal time. Defaults to false.
session_time"open" | "close"
Session reference used when align_time is true. Defaults to "close".
minute_offsetinteger
Minute delta applied after session selection (negative=earlier, positive=later). Defaults to 0.
Operation skeleton
{
"id": "my_step",
"operation": "dataset_trigger",
"parameters": {
"dataset_id": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Triggers

Parameters

FieldTypeDescription
index_idstringarray
Target index id (or list of ids); fires when ANY of them publishes. Defaults to the delivery's index_ids/index_id.
event_type"value_eod" | "session" | "universe" | "weighting" | "holdings"
Which publication to listen for: value_eod = new EOD value, session = the index's day is complete (EOD value in, close rebalances and corporate actions done), universe = reconstitution, weighting = rebalance, holdings = holdings update. Defaults to "value_eod".
coalesce_secondsnumber
Batching window. The coordinator collects the targets' events and runs the delivery ONCE per batch: as soon as every target has reported, or once no new event has arrived for this many seconds (the closes of one exchange land over ~10 minutes). One run = one email / one file batch / one burst of partner requests. 0 runs on every event as it lands; a delivery per index is the way to get separate sends. Defaults to 120.
Operation skeleton
{
"id": "my_step",
"operation": "index_event_trigger",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Triggers
Operation skeleton
{
"id": "my_step",
"operation": "manual_trigger",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Triggers

Parameters

FieldTypeDescription
cronstring
Standard 5-field cron string (minute hour day-of-month month day-of-week). Required unless times is set.
timesarray
Extra fires on top of the cron (each {date, session}), e.g. an ad-hoc run of this flow. An entry's overrides ({op_id: {param: value}}) amend the downstream operations for that one run only.
skiparray
Scheduled sessions that do NOT fire (each {date, session}): an ad-hoc rebalance replacing them, or a rebalance skipped on purpose.
timezonestringnull
IANA timezone applied before evaluation; null falls back to the index default. Defaults to null.
alignment_enabledboolean
Align schedule to a trading calendar instead of literal dates. Defaults to false.
trading_calendarstringnull
Trading calendar ISO symbol (e.g., XNYS) used for alignment. Defaults to null.
trading_day"preceding" | "following"
Choose nearest trading day on/before (preceding) or on/after (following) the date. Defaults to "preceding".
align_timeboolean
When true, use trading session open/close times instead of the literal time. Defaults to false.
session_time"open" | "close"
Session reference used when align_time is true. Defaults to "close".
minute_offsetinteger
Minute delta applied after session selection (negative=earlier, positive=later). Defaults to 0.
Operation skeleton
{
"id": "my_step",
"operation": "trigger",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Utility

Parameters

FieldTypeDescription
sourcestring
S3 path to code source (.zip with main.py and optional requirements.txt).
codestring
Inline Python source code. Must define def execute(operation, context) and return a Polars DataFrame. Read upstream outputs via operation['input']['<op_id>']['output'].
timeoutinteger
Maximum execution time in seconds. Defaults to 30.
Operation skeleton
{
"id": "my_step",
"operation": "code",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Utility

Parameters

FieldTypeDescription
stagestringnull
Stage filter (e.g. live) Defaults to null.
Operation skeleton
{
"id": "my_step",
"operation": "get_deliveries",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Utility

Parameters

FieldTypeDescription
urlrequiredstring
Request URL
method"GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD"
HTTP method Defaults to "GET".
headersobject
Request headers, e.g. {"Authorization": "Bearer …"}
query_paramsobject
URL query parameters
bodyany
Request body — objects/arrays are sent as JSON, strings as-is
timeoutnumber
Request timeout in seconds Defaults to 30.
retriesinteger
Retries on 429/5xx/network errors (exponential backoff) Defaults to 2.
use_cacheboolean
Cache successful responses in the shared KV cache Defaults to false.
cache_ttlinteger
Cache TTL in seconds Defaults to 300.
to_dataframeboolean
Convert the JSON response to a typed DataFrame (falls back to raw body on failure) Defaults to true.
record_pathstring
Dot path to the list of records inside the response, e.g. 'data.items'
Operation skeleton
{
"id": "my_step",
"operation": "http_request",
"parameters": {
"url": "<string>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Utility

Parameters

FieldTypeDescription
durationinteger
Number of seconds to sleep Defaults to 1.
Operation skeleton
{
"id": "my_step",
"operation": "sleep",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}

Viewers

Parameters

FieldTypeDescription
primary_idrequiredstring
The main entity ID.
benchmark_idstring
Optional benchmark entity for comparison.
entitiesrequiredobject
Map of entity_id to {type: 'backtest'|'index'|'security'}.
include_benchmarkboolean
Fetch the primary index's stored benchmark entities alongside it, so the caller needs no second request to chart them. Their ids come back in benchmark either way. Defaults to false.
max_holdingsinteger
Per-rebalance cap on detailed holdings (top-N by absolute weight). Defaults to 500.
max_holding_rowsinteger
Total row budget for the detailed holdings payload. When exceeded, the OLDEST rebalances are dropped (holdings_summary still covers the full history). Defaults to 100000.
Operation skeleton
{
"id": "my_step",
"operation": "data_viewer",
"parameters": {
"primary_id": "<string>",
"entities": "<object>"
},
"input": [
{
"$ref": "previous_step"
}
]
}

Viewers

Parameters

FieldTypeDescription
max_workflowsnumber
Cap on the number of workflows returned (default 500).
refreshboolean
Bypass the in-process cache and rebuild the payload.
summaryboolean
Return only id/name/latest_value/previous_value per workflow (no timeseries) — the landing-page ticker feed.
Operation skeleton
{
"id": "my_step",
"operation": "workflows_viewer",
"parameters": {},
"input": [
{
"$ref": "previous_step"
}
]
}