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)
def
getPortfolio( self, portfolioId: str, broker: investfly.models.PortfolioModels.Broker) -> investfly.models.PortfolioModels.Portfolio:
def
submitTradeOrder( self, portfolioId: str, broker: investfly.models.PortfolioModels.Broker, order: investfly.models.PortfolioModels.TradeOrder) -> investfly.models.PortfolioModels.OrderStatus: