investfly.api.PortfolioApiClient

class PortfolioApiClient:

This class is intended to make REST API calls to /portfolio endpoint to get information on virtual portfolio and connected brokerage account

PortfolioApiClient(restApiClient: investfly.api.RestApiClient.RestApiClient)
restApiClient
def getPortfolio( self, portfolioId: str, broker: investfly.models.PortfolioModels.Broker) -> investfly.models.PortfolioModels.Portfolio: