Skip to content

PortfolioResponse

QuantConnect.Api.PortfolioResponse

PortfolioResponse()

Bases: RestResponse

Response class for reading the portfolio of a live algorithm

JSON Constructor

portfolio

portfolio: Portfolio

Object containing the basic portfolio information of a live algorithm

success

success: bool

Indicate if the API request was successful.

errors

errors: List[str]

List of errors with the API call.

to_string

to_string() -> str

Returns the string representation of this object