portfolioBenchmark abstract method

Future<void> portfolioBenchmark(
  1. Portfolio portfolio
)

The portfolioBenchmark method is used to get the portfolio benchmark for a given portfolio.

The portfolio argument is used to specify the portfolio.

// Get portfolio benchmark for portfolio
final client = BavestRestClient(api_key);
final portfolioBenchmark = client.portfolioBenchmark(portfolio);

Implementation

Future<void> portfolioBenchmark(Portfolio portfolio);