Skip to main content
Glama
AnteWall

Avanza MCP Server

by AnteWall

get_orderbook

Retrieve real-time order book depth for Avanza instruments to analyze market liquidity, bid-ask spreads, and price levels with current buy/sell orders.

Instructions

Get real-time order book depth for an instrument.

Shows current buy and sell orders with prices and volumes at each level. Useful for understanding market depth, liquidity, and bid-ask spread.

Args: ctx: MCP context for logging instrument_id: Avanza instrument ID

Returns: Order book depth data with: - receivedTime: Timestamp of order book data - levels: Array of price levels, each containing: - buySide: Buy order with price, volume, priceString - sellSide: Sell order with price, volume, priceString

Examples: Get current order book: >>> get_orderbook(instrument_id="5269")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instrument_idYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnteWall/avanza-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server