Install
openclaw skills install @ehsanghaffar/iran-finance-markets-monitorUse whenever a user asks to monitor, collect, validate, compare, summarize, or report Iranian financial markets, including USD/IRR or USD/Toman, EUR, AED, gold, Emami coin, Nima, USDT/Toman, crypto prices, Fear & Greed, TGJU, Nobitex, Wallex, Bitpin, or a Persian market report. Collect provenance-rich partial data, never invent missing values, and report source failures explicitly.
openclaw skills install @ehsanghaffar/iran-finance-markets-monitorUse this skill to produce neutral, auditable snapshots and Persian-language market reports. It is a data-collection and explanation workflow, not investment advice or a trading signal.
null and its failure must appear in errors or warnings.references/market-data-sources.md before changing selectors or interpreting TGJU tables. Table positions are operational hints, not proof that a page has not changed.requirements.txt and run the bundled watcher with --stdout-only for inspection or --output-dir for a dated JSON artifact.templates/market-report-fa.txt; use — for null values and include the source/failure note when useful.The watcher emits JSON with:
schema_version, date_gregorian, date_jalali, and an ISO-8601 timestamp_tehran.status: ok only when no errors were recorded; otherwise partial.crypto: BTC, ETH, USDT/Toman, selected alts, Fear & Greed, and total market cap.iran_fx_gold: free USD, EUR, AED, 18K gold, Emami coin, and Nima placeholder.news: at most three links, with source and URL; RSS is fallback-only when TGJU news is empty.errors: structured source, type, and detail records; warnings: non-fatal omissions.Use the pure helpers in scripts/iran_market_watcher.py for tests and integrations: normalize_digits, parse_number, rial_to_toman, validate_range, validate_freshness, and parse_table_row.
Asia/Tehran), not a permanently hard-coded UTC offset.From the repository root:
python3 -m pip install -r skills/iran-finance-markets-monitor/requirements.txt
python3 skills/iran-finance-markets-monitor/scripts/iran_market_watcher.py --stdout-only
python3 skills/iran-finance-markets-monitor/scripts/iran_market_watcher.py --output-dir ./data/market
python3 -m pytest skills/iran-finance-markets-monitor/tests -q
For restricted/offline environments, run the tests and pure helpers only. Do not claim that live prices were collected when network access or dependencies are unavailable.
Use the bundled Persian template and fill missing values with —. Include:
jdatetime is required: install the bundled requirements; Jalali dates must not be approximated.normalize_digits and parse_number with the exact source text before changing selectors.