Agent Skillpytse-client
SkillToolsPlaygroundUniverseDocsInstallConsoleEvals

agentskills.io · GPL-3.0 · pytse-client 0.19.1

Tehran market,packaged for agents.

A complete Agent Skill for بورس اوراق بهادار تهران, wrapping Glyphack/pytse-client v0.19.1. Progressive disclosure, JSON-first scripts, and 16 tools. Switch the demo toggle off and this site fetches TSETMC for you — no install, no Python.

داده‌های بازار بورس تهران — تاریخچه قیمت، تابلوی لحظه‌ای، جریان حقیقی و حقوقی، سهامداران عمده و شاخص‌ها.

Demo dataشاخص کل · 2,184,350 · 12:29 · seed 2026-09-23· synthetic seed

Synthetic demo corpus — not live TSETMC

فولاد6,240+0.97%
وبملت1,834+1.78%
شپنا7,810+1.56%
خودرو2,680-1.29%
خساپا2,145+2.24%
فارس15,290+2.07%
نوری109,940+2.94%
شستا1,330+1.37%
وغدیر9,980+1.22%
اهرم18,620+1.53%
کگل5,990+1.18%
کچاد6,570+1.15%
فولاد6,240+0.97%
وبملت1,834+1.78%
شپنا7,810+1.56%
خودرو2,680-1.29%
خساپا2,145+2.24%
فارس15,290+2.07%
نوری109,940+2.94%
شستا1,330+1.37%
وغدیر9,980+1.22%
اهرم18,620+1.53%
کگل5,990+1.18%
کچاد6,570+1.15%

The skill

One folder. Progressive disclosure. The whole TSE surface.

Hosts load only name + description at startup (~100 tokens). SKILL.md activates on Iranian-market tasks. References and scripts load on demand — never dump the 40k README into context.

16

tools

22

bundled files

12

studio symbols

pytse-client/

SKILL.md

LICENSE

assets/tools.json

references/ · 9 files

scripts/ · 10 files

install the folder, not the repo

Capabilities · from upstream

01

Adjusted OHLCV

Split-aware daily history for one name or the whole board.

02

Realtime board

Last, close, the five-level bid/ask book, and حقیقی/حقوقی summaries.

03

Order book

Historical five-level book with async fetch and diff mode.

04

Ticks & bars

Last-day ticks or 30s–1h aggregations across a date range.

05

Retail flow

حقیقی vs حقوقی counts, volumes, values, ownership change.

06

Shareholders

Major holders, implied float, and slow daily history — fetched serially.

07

شاخص‌ها

شاخص کل, equal-weight, and sector indexes — history plus intraday.

08

فیلترنویسی

get_stats joins key stats, market watch, and client types.

09

Agent-native

SKILL.md, scripts that print JSON, MCP tools, HTTP invoke.

Universe

Studio corpus Demo data

All symbols →

Python surface

16 tools, one import.

universe

all_symbols

List every symbol known to pytse-client (from bundled symbols_name.json plus live appends).

pytse_client.all_symbols()

universe

resolve_symbol

Resolve a Persian name to TSETMC index, ISIN-adjacent ids, and old indexes for delisted rows.

pytse_client.download.get_symbol_info(symbol)

history

download_history

Download daily OHLCV for one, many, or all symbols. Optional Jalali column and split-adjusted prices.

tse.download(symbols, write_to_csv=False, include_jdate=False, adjust=False)

flow

download_client_types

Retail (حقیقی) vs institutional (حقوقی) daily buy/sell counts, volumes, values, and ownership change.

tse.download_client_types_records(symbols, write_to_csv=False, include_jdate=False)

index

download_financial_indexes

Download OHLCV history for TSE financial indexes, or all of them.

tse.download_financial_indexes(symbols, write_to_csv=False, include_jdate=False)

index

financial_index_snapshot

Live-ish snapshot of an index: last_value, last_update, high, low, history, intraday_price.

tse.FinancialIndex(symbol)

ticker

ticker_snapshot

Full Ticker board: title, group, EPS, P/E, NAV, float, market cap, best bid/ask, state, last prices.

tse.Ticker(symbol, index=None, adjust=False)

ticker

ticker_realtime

Five-level live book plus last trade, state, and حقیقی/حقوقی trade summaries.

ticker.get_ticker_real_time_info_response()
Full catalog →