Python: liberator.query() Parameters

 

Argument

Description

Type

symbols

The security trading symbol(s) you wish to query

String, or List

name

The name of the dataset (required)

String

as _of

The date in time that you wish the data to be. as_of defaults to now. This value can be any past date so that you can see the data as it was known on the “as of” date.

String

Format YYYY-MM-DD HH:MM:SS

(HH:MM:SS is optional)

back_to

The date where the return dataset should begin. This is reading all the data “back to” the specified date.

String

Format YYYY-MM-DD HH:MM:SS

(HH:MM:SS is optional)

url

Optional. The url of the liberator server that you are querying. This defaults to 'https://api.cloudquant.ai'. You can also set it to an IP Address. E.g. 'http://127.0.0.1: 47753'

String

system

The name of the authorized system that you are querying from. The security mechanism in liberator authorized users for individual systems.

String

This is almost always “API”

fields

Optional : Filter down the column names to just those required. You cannot remove mandatory fields

String, or List

crux_key

if querying for a Crux data set

String (your Crux Key)

compress

The data compression method on the wire. CloudQuant uses compression.

String. Always compressed_transfer

json_xfer

Json transfer. This is usually False

Boolean. Always False

user

The user identifier (as assigned by CloudQuant)

String

token

The user’s assigned token

String