portfolioAllocation abstract method

Future<List<PortfolioAllocation>> portfolioAllocation(
  1. Portfolio portfolio
)

The portfolioAllocation method is used to get the portfolio allocation for a given portfolio.

The portfolio argument is used to specify the portfolio.

// Get portfolio allocation for portfolio
final client = BavestRestClient(api_key);
final portfolioAllocation = client.portfolioAllocation(portfolio);

Implementation

Future<List<PortfolioAllocation>> portfolioAllocation(Portfolio portfolio);