Query parameter combinations
This guide explains the main parameters for CloudQuant Data Liberator queries and the expected results from different combinations.Core parameters
See the Query Parameters Reference for the full parameter list, including superquery, N-Query, and authentication options.
Query examples
All parameters included
Without symbols
Without as_of
as_of to current time, returning data from present back to specified date.
Without back_to
Minimal query (name only)
Custom where filters
Use where with a standard parameter-based query to append extra SQL predicates on top of the filters CloudQuant Data Liberator generates for time range and symbols. The clause is combined with AND — do not include the WHERE keyword.
where works with time-range, LKV, and N-Query modes. Column names that match the dataset schema are automatically quoted when needed.
Multi-dataset / concordance-style filters
For datasets keyed by more than symbol (for example concordance tables with adataset column), use where to narrow the result set:
where cannot be combined with sql. Use one approach or the other.Raw sql queries
Pass a complete SQL SELECT statement via sql instead of name, back_to, as_of, and related parameters. When sql is present, parameter-based query construction is skipped.
SQL requirements
- The statement must be a
SELECT(includingUNION/INTERSECT/EXCEPTbranches). - Every
SELECTarm must include an explicitWHEREclause. - By default, the
WHEREclause must include a time-range predicate onmutsor another configured column (=,>,>=,<,<=, orBETWEEN). Use microsecond timestamps formutsvalues. - Quote dataset names with double quotes when they contain special characters.
- Use
$$symbol$$dollar-quoting for string literals in filters.
Parameters allowed with sql
When using sql, only connection, auth, and transfer options are permitted alongside the statement — for example user, system, token, compress, json_xfer, and batch_size. Supplying non-empty values for name, back_to, as_of, where, or other construction parameters raises an error.

