moexalgo-market-data
Python moexalgo library workflows for Market and Ticker market data, .env session.TOKEN setup, pandas DataFrames, tickers metadata, marketdata quotes, info, candles, trades, orderbook, market aliases, board overrides, field selection, offset pagination, native-mode escape hatches, and basic EQ/FO/FX data analysis.
How do I install this agent skill?
npx skills add https://github.com/moexalgo/algopack-skills --skill moexalgo-market-dataIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides instructions for using the moexalgo Python library to interact with Moscow Exchange (MOEX) market data. It follows security best practices for credential management and uses official library resources.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
MOEXAlgo Market Data
Overview
Use this skill when the user wants the moexalgo Python package, pandas-style DataFrames, or Market/Ticker helpers for market data.
Quick Start
python -m pip install "moexalgo[dataframe]" python-dotenv
import os
from dotenv import load_dotenv
from moexalgo import session, Market, Ticker
load_dotenv()
session.TOKEN = os.environ["APIKEY"]
eq = Market("EQ")
tickers = eq.tickers("ticker", "shortname", "minstep")
quotes = eq.marketdata("ticker", "last", "bid", "offer", "updatetime")
sber = Ticker("SBER")
info = sber.info("ticker", "title", "market", "engine", "decimals")
candles = sber.candles(start="2025-01-01", end="2025-01-31", period="1h")
trades = sber.trades(latest=True)
book = sber.orderbook()
Core Workflow
- Install
moexalgo[dataframe]andpython-dotenvfor DataFrame output and.envloading. - Store
APIKEYin.env, callload_dotenv(), then setsession.TOKENfromos.environ["APIKEY"]for plan-entitled access.Стартовый / Starterfree-token access includes 15-minute delayed candles and trades;Promoincludes online order books, candles, and trades. - Use
Market("EQ"|"FO"|"FX")for market-wide rows andTicker("SBER")for one instrument. - Keep metadata and quotes separate:
tickers(...)reads the ISSsecuritiesblock, whilemarketdata(...)reads the ISSmarketdatablock. - Pass explicit field names for compact DataFrames; use
tickers("*")for allsecuritiesfields andmarketdata("*")for allmarketdatafields. - Use
board=...only after metadata shows a non-default board is required.
References
Read references/market-data.md for signatures, aliases, securities versus marketdata fields, candle periods, board caveats, pagination, and DataFrame examples.
Boundary
For raw REST URLs, curl, ISS pagination mechanics, or non-Python integrations, use the direct ISS/API skills instead.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/moexalgo/algopack-skills/moexalgo-market-data">View moexalgo-market-data on skillZs</a>