TSETMC Tehran Stock Exchange
v0.2.2Unofficial read-only Tehran Stock Exchange (TSETMC): quotes, movers, order book, history, indices.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ts_search_symbols Search symbols
Find Tehran Stock Exchange instruments (shares, funds, rights, bonds) by ticker or name. Pass a result's `symbol` or `ins_code` to the other ts_ tools. Empty list: retry a shorter name.
| Parameter | Type | Description |
|---|---|---|
query * | string | Ticker or company name, e.g. 'فولاد', 'بانک ملت'. |
limit | integer | Max matches. |
ts_get_quote Stock quote
Latest price, daily range, volume and key facts of one instrument on the Tehran Stock Exchange. Use ts_order_book for bids and asks, ts_price_history for earlier days.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker, exact name or ins_code, e.g. 'فولاد'. |
ts_market_movers Market movers
Top traded instruments of a market today, ranked by gain, loss, volume, value or trade count. Only traded instruments. `limit_up`/`limit_down` = stuck at the daily limit. Pass a row's `symbol` to other ts_ tools.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max rows. |
market | string | bourse = Tehran shares, farabourse = Fara Bourse shares, plus rights and bonds. |
sort_by | string | gain/loss = last-trade change vs yesterday, value = Rial traded. |
ts_order_book Order book
Best five bid and ask levels (price, volume, order count) of one instrument. Empty outside trading hours. Ask price 0 = buy queue (no sellers), bid price 0 = sell queue.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker, exact name or ins_code, e.g. 'فولاد'. |
ts_price_history Daily price history
Daily open, high, low, close, volume, trades and value of one instrument for its latest trading days, newest first. Prices are unadjusted for capital increases and dividends.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker, exact name or ins_code, e.g. 'فولاد'. |
days | integer | Latest trading days. |
ts_real_legal Real vs legal trading
Buy and sell volume, value and buyer/seller counts split by real (individual) and legal (institutional) traders per day. `net_real_volume` > 0: individuals net bought. Newest day first.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker, exact name or ins_code, e.g. 'فولاد'. |
days | integer | Latest trading days (one upstream call each). |
ts_indices Market indices
TSE total index, market state and trading totals, plus every sector and market index with its change. Pass an index `name` to ts_index_history for past values.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max indices, strongest first. |
query | Part of an index name, e.g. 'بانک', 'هم وزن'. Omit for all. |
ts_index_history Index history
Daily close, high, low and percent change of a TSE index (total, equal-weight, sector...), newest first. Names: see ts_indices.
| Parameter | Type | Description |
|---|---|---|
days | integer | Latest trading days. |
index | string | Index name or part of it, or ins_code, e.g. 'بانک'. |