Avanza Tools
Command reference

avanza accounts

Read accounts and balances

avanza accounts categories

List account categories

USAGE
  $ avanza accounts categories [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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

avanza accounts categorized-overview

Read the categorized account overview

USAGE
  $ avanza accounts categorized-overview [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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

avanza accounts closed

List closed accounts

USAGE
  $ avanza accounts closed [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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

avanza accounts has-closed

Check whether any accounts have been closed

USAGE
  $ avanza accounts has-closed [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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

avanza accounts lightweight

Read lightweight account summaries

USAGE
  $ avanza accounts lightweight [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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

avanza accounts list

List open accounts

USAGE
  $ avanza accounts list [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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

avanza accounts overview

Inspect one account

USAGE
  $ avanza accounts overview --account-id <value> [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --account-id=<value>  (required) Account URL parameter ID
  --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

avanza accounts trading

Read trading accounts

USAGE
  $ avanza accounts trading [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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

avanza accounts trading-with-positions

Read trading accounts with positions

USAGE
  $ avanza accounts trading-with-positions [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --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