Avanza Tools
Command reference

avanza performance

Read account performance and total values

avanza performance chart

Read the account performance chart

USAGE
  $ avanza performance chart [--fields <value> --json] [--output <value> [--fixture | ]] [--account-ids <value>...]
    [--period TODAY|ONE_WEEK|ONE_MONTH|THREE_MONTHS|THIS_YEAR|ONE_YEAR|THREE_YEARS|FIVE_YEARS|ALL_TIME | --from <value>
    | --to <value>] [--include-closed]

FLAGS
  --account-ids=<value>...  Comma-separated account IDs; defaults to all accounts
  --fields=<value>          Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture                 Print the HTTP request and response as a fixture
  --from=<value>            Custom range start (yyyy-MM-dd)
  --include-closed          Include closed accounts
  --json                    Print the command response as JSON
  --output=<value>          Write the raw fixture to a new temporary file
  --period=<option>         Time period
                            <options:
                            TODAY|ONE_WEEK|ONE_MONTH|THREE_MONTHS|THIS_YEAR|ONE_YEAR|THREE_YEARS|FIVE_YEARS|ALL_TIME>
  --to=<value>              Custom range end (yyyy-MM-dd)

avanza performance insights

Read what positions earned over a period, including dividends

USAGE
  $ avanza performance insights [--fields <value> --json] [--output <value> [--fixture | ]] [--period
    TODAY|ONE_WEEK|THIS_YEAR|THREE_YEARS_ROLLING] [--account-ids <value>...]

FLAGS
  --account-ids=<value>...  Comma-separated account IDs; defaults to all accounts
  --fields=<value>          Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture                 Print the HTTP request and response as a fixture
  --json                    Print the command response as JSON
  --output=<value>          Write the raw fixture to a new temporary file
  --period=<option>         [default: THIS_YEAR] Time period
                            <options: TODAY|ONE_WEEK|THIS_YEAR|THREE_YEARS_ROLLING>

avanza performance total-values

Read total values, buying power, and development

USAGE
  $ avanza performance total-values [--fields <value> --json] [--output <value> [--fixture | ]] [--account-ids
  <value>...]

FLAGS
  --account-ids=<value>...  Comma-separated account IDs; defaults to all accounts
  --fields=<value>          Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture                 Print the HTTP request and response as a fixture
  --json                    Print the command response as JSON
  --output=<value>          Write the raw fixture to a new temporary file

On this page