About moexalgo-futoi
A skill for retrieving FUTOI through the moexalgo Python package and analyzing results as DataFrames. It suits workflows using pandas on aggregate futures snapshots, and documents access caveats and differences from the direct REST endpoint.
Key features
- 01Retrieve FUTOI for all futures
- 02Query an individual futures instrument
- 03Group by FIZ and YUR
- 04Analyze and plot with pandas
- 05Document library method limits
- 06Explain aggregate-data boundaries
Use cases
- 01Fetch futures positioning data with Python
- 02Summarize or pivot data with pandas
- 03Analyze a FUTOI date range for one instrument
- 04Distinguish aggregate snapshots from trader records
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ moexalgo/ algopack-skills --skill moexalgo-futoiAfter installing, type/moexalgo-futoiin Claude Code to confirm it loaded.
Bundled filesreferences/futoi.md
Details
From the project READMEMOEXAlgo FUTOI
Overview
Use this skill when the user wants FUTOI through the moexalgo Python package and DataFrame analysis.
Access note: Стартовый / Starter free-token access has FUTOI delayed at T - 15 days; Promo has fuller/online access, subject to current entitlement.
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"]
fo = Market("FO")
all_futoi = fo.futoi(date="2025-01-10")
si = Ticker("SiH5")
si_futoi = si.futoi(start="2025-01-10", end="2025-01-10")
Core Workflow
- Use
Market("FO").futoi(date=...)for all futures FUTOI rows. - Use
Ticker(...).futoi(start=..., end=...)for one futures instrument. - Split by
clgroup, usuallyFIZandYUR. - Use pandas groupbys, pivots, or plots only when the user asks for that analysis.
- Remember that FUTOI library methods do not expose
latestoroffset; use direct REST if the user needs those raw endpoint controls. - Explain that rows are aggregate futures snapshots, not individual trader records or exact single-contract FIZ/YUR positioning.
References
Read references/futoi.md for signatures, fields, aggregation caveats, and DataFrame examples.
Boundary
For browser URLs, curl, raw JSON/CSV, or no-Python output, use the direct FUTOI skill instead.