Skip to content

DataPricesList

QuantConnect.Api.DataPricesList

DataPricesList()

Bases: RestResponse

Data/Prices response wrapper for prices by vendor

JSON Constructor

prices

prices: List[PriceEntry]

Collection of prices objects

agreement_url

agreement_url: str

The Agreement URL for this Organization

success

success: bool

Indicate if the API request was successful.

errors

errors: List[str]

List of errors with the API call.

get_price

get_price(path: str) -> int

Get the price in QCC for a given data file

Parameters:

Name Type Description Default
path str

Lean data path of the file

required

Returns:

Type Description
int

QCC price for data, -1 if no entry found.

to_string

to_string() -> str

Returns the string representation of this object