Install
openclaw skills install dataify-google-financeAutomation skill for Dataify Google Finance.
openclaw skills install dataify-google-financename: dataify-google-finance description: This skill is triggered when the user requests "call Google Finance" or "search Google Finance", or explicitly mentions something related to financial data (stocks, indices, funds, currencies, futures)
Use this skill to turn a user's Google Finance request into a Dataify Scraper API form POST.
Before every real API call, follow this confirmation flow. These rules override any older workflow order in this skill.
engine value.pizza, us, en, dates, airport codes, or tokens as defaults.Authorization. Include the complete body field list from this skill's reference document, including engine, even when a field is currently blank.参数名, 当前值, 默认值, 说明.DATAIFY_API_TOKEN.Use the bundled preview helper whenever possible to generate the confirmation table from this skill's reference document:
python3 scripts/preview_params.py --params-json '{"q":"USER_QUERY"}'
Pass every parsed current value to preview_params.py using --params-json or matching --field value arguments. The helper reads defaults and descriptions from references/*api.md; if the helper cannot parse a default, leave the default blank rather than inventing one.
9. After confirmation and token handling, call the bundled Python script with python3 and return the API response body directly without summarizing, extracting, cleaning, translating, or reshaping it.
q as the finance query and set engine to the fixed value google_finance.engine: fixed google_financejson: default 1window: default 1Dno_cache: default falseq: no default; ask the user if it cannot be inferredhl: no documented default; leave empty unless the user specifies itpython3 in preview mode and show the returned Markdown table to the user. The table must contain the complete request field list except Authorization, with only these columns: parameter name, current value, default value, and description.python3 scripts/google_finance.py --request "查询 NASDAQ:GOOGL,窗口 1年,英文,返回 JSON" --preview-table
For many fields, pass one JSON object with shell-appropriate quoting:
python3 scripts/google_finance.py --params-json '{"q":"NASDAQ:GOOGL","window":"1Y","hl":"en","json":"1"}' --preview-table
DATAIFY_API_TOKEN.python3. Run it from this skill directory, or use the absolute path to scripts/google_finance.py.python3 scripts/google_finance.py --q "NASDAQ:GOOGL" --window 1Y --hl en --json 1
If the user provided a token in the conversation instead of an environment variable, pass it with --token and avoid echoing it back in the final answer:
python3 scripts/google_finance.py --token "USER_TOKEN" --q "NASDAQ:GOOGL" --window 1Y
For a natural-language fallback, pass the whole request:
python3 scripts/google_finance.py --request "搜索苹果股票,图表范围 5天,不使用缓存"
Use references/google_finance_api.md for the complete parameter descriptions and documented defaults.
Core rules:
Content-Type: application/x-www-form-urlencoded.engine to google_finance.q cannot be inferred.Bearer is accepted and prefixed automatically.Authorization in the pre-call parameter table.Common mappings:
qjson: "1"json: "2"json: "3"json: "4"hlwindow: "1D"window: "5D"window: "1M"window: "6M"window: "YTD"window: "1Y"window: "5Y"window: "MAX"no_cache: "true"