Documentation Index
Fetch the complete documentation index at: https://knowledge.cloudquant.com/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameter Combinations
This guide explains the main parameters for CloudQuant Data Liberator queries and the expected results from different combinations.
Core Parameters
| Parameter | Description | Default |
|---|
name | Dataset identifier (required) | — |
symbols | Single symbol or list, e.g. ['AAPL','GOOG','MSFT'] | None (all symbols) |
back_to | Query start date | None |
as_of | Query end date | Current date/time |
fields | Specify desired columns to reduce download time | All columns |
stats | Set to 'Total' for symbol counts instead of full results | — |
Use liberator.datasets(entitled=True) to list all datasets available to you.
Query Examples
All Parameters Included
df = liberator.get_dataframe(liberator.query(
name = 'daily_bars',
as_of = '2024-07-24',
back_to = '2024-07-16',
symbols = ['AAPL', 'GOOGL']))
Returns data for specified symbols within the date range.
Without Symbols
df = liberator.get_dataframe(liberator.query(
name = 'daily_bars',
as_of = '2024-07-24',
back_to = '2024-07-16'))
Defaults to all available symbols.
Without as_of
df = liberator.get_dataframe(liberator.query(
name = 'daily_bars',
back_to = '2024-07-22'))
Defaults as_of to current time, returning data from present back to specified date.
Without back_to
df = liberator.get_dataframe(liberator.query(
name = 'daily_bars',
as_of = '2023-12-25'))
Returns the most recent data point per symbol as of the specified date. Look-back distance varies by dataset density.
Minimal Query (Name Only)
df = liberator.get_dataframe(liberator.query(name = 'daily_bars'))
Returns the latest data point for all symbols in the dataset.