mcpField
A
algopack-market-data

algopack-market-data

github.com/moexalgoData & databases445 installsUpdated 19w ago
Repository

About algopack-market-data

algopack-market-data is a skill for retrieving current and delayed market data through HTTP endpoints, aimed at analysts and developers working with market information. It covers route selection, JSON or CSV output, response normalization, pagination, and chart handoff; it does not place orders.

Key features

  1. 01Retrieve quotes and security metadata
  2. 02Access candles, trades, and order books
  3. 03Choose market routes and data blocks
  4. 04Format responses as JSON or CSV
  5. 05Normalize rows and paginate historical data
  6. 06Prepare data for charts and handoff

Use cases

  1. 01Fetch security quotes and metadata
  2. 02Collect historical candles for analysis
  3. 03Export market data to spreadsheets
  4. 04Prepare normalized data for charts

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/moexalgo/algopack-skills --skill algopack-market-data

After installing, type/algopack-market-datain Claude Code to confirm it loaded.

Bundled filesreferences/market-data.md

Details

From the project README

ALGOPACK Market Data

Overview

Use this skill for direct HTTP access to current quotes, securities metadata, candles, trades, and order books. Default to copyable URLs, curl, normalized JSON rows, and CSV/JSON handoff output.

Quick Start

curl -L "https://apim.moex.com/iss/engines/stock/markets/shares/boards/TQBR/securities/SBER/candles.json?from=2025-01-01&till=2025-01-31&interval=60" \
  -H "Authorization: Bearer ${APIKEY}"

For public delayed ISS data, try the same path on https://iss.moex.com/iss without the bearer header. In ALGOPACK tiers, Стартовый / Starter free-token access includes 15-minute delayed candles and trades; Promo includes online order books, candles, and trades.

Core Workflow

  1. Choose the market route: shares stock/shares/TQBR, futures futures/forts/RFUD, or currency currency/selt/CETS.
  2. Choose the block: securities, marketdata, candles, trades, or orderbook.
  3. Add .json for programmatic answers or .csv when the user wants a spreadsheet/chart feed.
  4. Use iss.only and column filters for smaller payloads.
  5. Normalize ISS columns plus data arrays into row objects before filtering, joining, or charting.
  6. Use start pagination for historical candles or any response that reaches a row cap; advance by the returned row count until the target block returns no rows.
  7. Match output to the request: CSV/JSON tables for handoff, simple HTML charts for browser output, Matplotlib or pandas plotting for notebook/script output, and the app's existing charting stack inside an app.

References

Read references/market-data.md for endpoint maps, parameters, field meanings, response parsing, pagination, and output patterns.

Boundary

ALGOPACK provides data and analytics only. Do not describe it as an order-placement or broker trading API.

Comments

Markdown supported