run_filter
Filter live Tehran Stock Exchange symbols by custom boolean conditions. Use TSETMC syntax or friendly aliases for price, volume, order book, and money flow fields to find matching stocks.
Instructions
Run a custom stock filter over the live market and return matching symbols.
expression is a boolean condition over a symbol's fields. Accepts TSETMC filter
syntax — e.g. (ct).Buy_I_Volume-(ct).Sell_I_Volume>0 && (plp)>0 — OR friendly
aliases — e.g. net_individual > 0 and change_pct > 0. Call filter_help() first to
see all variables (price/volume/eps/pe, حقیقی-حقوقی ct_*, order-book, buy_queue()).
Order-book/صف filters enrich a shortlist on demand (capped by enrich_limit). Pass
save_as to store the filter under a name for reuse. Returns {rows, matched,
returned, normalized, tier, meta}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| save_as | No | ||
| expression | Yes | ||
| description | No | ||
| enrich_limit | No |