TickFlow 实时行情与日K
name: tickflow-realtime
by cengsin · published 2026-04-01
$ claw add gh:cengsin/cengsin-tickflow-realtime---
name: tickflow-realtime
description: 使用 TickFlow 数据中心查询实时行情和日K数据。适用于用户想查单个或多个标的的最新价格、涨跌幅、成交量、交易时段,或查询单标的/多标的的日K、最近N根K线、复权K线时。
---
# TickFlow 实时行情与日K
这个 skill 用 TickFlow HTTP API 查询两类数据:
何时使用
在这些场景触发:
工作流
1. 判断用户是要实时行情还是 K 线。
2. 从环境变量 `TICKFLOW_API_KEY` 读取 API Key。
3. 实时行情优先使用 `GET /v1/quotes`;标的较多时可以切到 `POST /v1/quotes`。
4. K 线单标的使用 `GET /v1/klines`;多标的使用 `GET /v1/klines/batch`。
5. 校验响应结构。
6. 返回简洁摘要;如果用户明确要原始数据,再返回 JSON。
API Key
脚本
参考文档
使用约定
示例
查询单个标的实时行情:
python3 scripts/query_quotes.py --symbols 600519.SH --format summary批量查询多个代码实时行情:
python3 scripts/query_quotes.py --symbols 600519.SH,000001.SZ,AAPL.US --format table查询单个标的日 K:
python3 scripts/query_klines.py --symbol 600519.SH --period 1d --count 20 --format table查询多个标的最近一根日 K:
python3 scripts/query_klines.py --symbols 600519.SH,000001.SZ --period 1d --count 1 --format summaryMore tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...