Avanza Tools
Command reference

avanza market

Search instruments and read quotes, charts, indices, and ETFs

avanza market analysis

Read key ratios, financials, and dividends by year and quarter

USAGE
  $ avanza market analysis --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market broker-trades

Read broker trade summaries for a stock

USAGE
  $ avanza market broker-trades --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market chart

Read the relative market overview chart for an orderbook

USAGE
  $ avanza market chart --orderbook-id <value> [--fields <value> --json] [--output <value> [--fixture | ]]
    [--period today|one_week|one_month|three_months|this_year|one_year|three_years|five_years|infinity]

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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file
  --period=<option>       [default: today] Time period
                          <options:
                          today|one_week|one_month|three_months|this_year|one_year|three_years|five_years|infinity>

avanza market chart-periods

Read price changes per chart period

USAGE
  $ avanza market chart-periods --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market company-events

List report dates for a stock

USAGE
  $ avanza market company-events --orderbook-id <value> [--fields <value> --json] [--output <value> [--fixture | ]]
    [--period today|one_week|one_month|three_months|this_year|one_year|three_years|five_years|infinity | --from <value>
    | --to <value>]

FLAGS
  --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)
  --json                  Print the command response as JSON
  --orderbook-id=<value>  (required) Orderbook ID
  --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|infinity>
  --to=<value>            Custom range end (yyyy-MM-dd)

avanza market constituents

List the constituents of an index

USAGE
  $ avanza market constituents --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market data

Read trading market data for an orderbook

USAGE
  $ avanza market data --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market etf

Inspect an ETF

USAGE
  $ avanza market etf --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market etf-details

Read ETF details, exposures, and trading data

USAGE
  $ avanza market etf-details --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market indices

Read the header market indices

USAGE
  $ avanza market indices [--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 market insider-trades

List individual insider transactions

USAGE
  $ avanza market insider-trades --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market insider-transactions

Summarize insider transactions for a stock

USAGE
  $ avanza market insider-transactions --orderbook-id <value> [--fields <value> --json] [--output <value> [--fixture | ]]
    [--period today|one_week|one_month|three_months|this_year|one_year|three_years|five_years|infinity | --from <value>
    | --to <value>]

FLAGS
  --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)
  --json                  Print the command response as JSON
  --orderbook-id=<value>  (required) Orderbook ID
  --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|infinity>
  --to=<value>            Custom range end (yyyy-MM-dd)

avanza market instrument

Read a certificate, warrant, future, forward, or option

USAGE
  $ avanza market instrument --type certificate|warrant|futureforward|option --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file
  --type=<option>         (required) Product type
                          <options: certificate|warrant|futureforward|option>

avanza market instrument-details

Read issuer, documents, order depth, and trades for a listed product

USAGE
  $ avanza market instrument-details --type certificate|warrant|futureforward|option --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file
  --type=<option>         (required) Product type
                          <options: certificate|warrant|futureforward|option>

avanza market isin

Look up an instrument by ISIN

USAGE
  $ avanza market isin --isin <value> [--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
  --isin=<value>    (required) ISIN
  --json            Print the command response as JSON
  --output=<value>  Write the raw fixture to a new temporary file

avanza market market-maker-chart

Read price history with market maker bid and ask

USAGE
  $ avanza market market-maker-chart --orderbook-id <value> [--fields <value> --json] [--output <value> [--fixture | ]]
    [--period today|one_week|one_month|three_months|this_year|one_year|three_years|five_years|infinity | --from <value>
    | --to <value>] [--resolution
    minute|two_minutes|five_minutes|ten_minutes|thirty_minutes|hour|day|week|month|quarter]

FLAGS
  --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)
  --json                  Print the command response as JSON
  --orderbook-id=<value>  (required) Orderbook ID
  --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|infinity>
  --resolution=<option>   Candle resolution; defaults to the period default
                          <options:
                          minute|two_minutes|five_minutes|ten_minutes|thirty_minutes|hour|day|week|month|quarter>
  --to=<value>            Custom range end (yyyy-MM-dd)

avanza market marketplace

Read opening hours and status for the stock market

USAGE
  $ avanza market marketplace --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market news

List news for an instrument

USAGE
  $ avanza market news --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market order-depth

Read stock order depth

USAGE
  $ avanza market order-depth --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market overviews

Read market overview layouts

USAGE
  $ avanza market overviews [--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 market owners

Read the history of Avanza owners

USAGE
  $ avanza market owners --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market price-chart

Read OHLC price history for an orderbook

USAGE
  $ avanza market price-chart --orderbook-id <value> [--fields <value> --json] [--output <value> [--fixture | ]]
    [--period today|one_week|one_month|three_months|this_year|one_year|three_years|five_years|infinity | --from <value>
    | --to <value>] [--resolution
    minute|two_minutes|five_minutes|ten_minutes|thirty_minutes|hour|day|week|month|quarter]

FLAGS
  --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)
  --json                  Print the command response as JSON
  --orderbook-id=<value>  (required) Orderbook ID
  --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|infinity>
  --resolution=<option>   Candle resolution; defaults to the period default
                          <options:
                          minute|two_minutes|five_minutes|ten_minutes|thirty_minutes|hour|day|week|month|quarter>
  --to=<value>            Custom range end (yyyy-MM-dd)

avanza market quote

Read the latest stock quote

USAGE
  $ avanza market quote --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

Search instruments by name, ticker, or ISIN

USAGE
  $ avanza market search --query <value> [--fields <value> --json] [--output <value> [--fixture | ]] [--types
    STOCK|INDEX|FUND|EXCHANGE_TRADED_FUND|CERTIFICATE|WARRANT|TRADING_CURRENCY|BOND|PREMIUM_BOND|EQUITY_LINKED_BOND|OPTI
    ON|SUBSCRIPTION_OPTION|CONVERTIBLE|FUTURE_FORWARD|RIGHT|PAGE|FAQ...] [--offset <value>] [--limit <value>]

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
  --limit=<value>
  --offset=<value>
  --output=<value>     Write the raw fixture to a new temporary file
  --query=<value>      (required) Search text
  --types=<option>...  Comma-separated instrument types; defaults to all
                       <options: STOCK|INDEX|FUND|EXCHANGE_TRADED_FUND|CERTIFICATE|WARRANT|TRADING_CURRENCY|BOND|PREMIUM
                       _BOND|EQUITY_LINKED_BOND|OPTION|SUBSCRIPTION_OPTION|CONVERTIBLE|FUTURE_FORWARD|RIGHT|PAGE|FAQ>

avanza market short-selling

Read short-selling history for a stock

USAGE
  $ avanza market short-selling --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market stock

Read stock details, key indicators, and quote

USAGE
  $ avanza market stock --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

avanza market technical-analysis

Read OHLC lookback points before a price chart period

USAGE
  $ avanza market technical-analysis --orderbook-id <value> --points <value> [--fields <value> --json] [--output <value>
    [--fixture | ]] [--period today|one_week|one_month|three_months|this_year|one_year|three_years|five_years|infinity |
    --from <value> | --to <value>] [--resolution
    minute|two_minutes|five_minutes|ten_minutes|thirty_minutes|hour|day|week|month|quarter]

FLAGS
  --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)
  --json                  Print the command response as JSON
  --orderbook-id=<value>  (required) Orderbook ID
  --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|infinity>
  --points=<value>        (required) Number of lookback points
  --resolution=<option>   Candle resolution; defaults to the period default
                          <options:
                          minute|two_minutes|five_minutes|ten_minutes|thirty_minutes|hour|day|week|month|quarter>
  --to=<value>            Custom range end (yyyy-MM-dd)

avanza market trades

Read the latest stock trades

USAGE
  $ avanza market trades --orderbook-id <value> [--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
  --orderbook-id=<value>  (required) Orderbook ID
  --output=<value>        Write the raw fixture to a new temporary file

On this page