Command reference
avanza accounts
Read accounts and balances
avanza accounts categoriesavanza accounts categorized-overviewavanza accounts closedavanza accounts has-closedavanza accounts lightweightavanza accounts listavanza accounts overviewavanza accounts tradingavanza accounts trading-with-positions
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 fileavanza 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 fileavanza 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 fileavanza 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 fileavanza 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 fileavanza 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 fileavanza 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 fileavanza 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 fileavanza 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