📦 Tradealpha Realtime News

v0.0.1

Fetch realtime TradeAlpha news across Reuters, Bloomberg, Truth Social, re搜索 alerts, and domestic news sources via `POST /API/v1/news/realtime_news`. Use...

0· 0·0 当前·0 累计
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The 技能's code, instructions, and required 凭证 align with its 状态d purpose of fetching realtime news from the quant访问.lxaa.top TradeAlpha API; nothing in the package 请求s unrelated 凭证s or performs unexpected 系统 访问.
评估建议
This 技能 应用ears internally consistent and only needs your TradeAlpha令牌 and Node to 运行 the included script which POSTs to https://quant访问.lxaa.top. Before 安装ing: (1) confirm you trust the 端点 (quant访问.lxaa.top) because your 令牌 will be transmitted there (in header and body); (2) avoid pasting the 令牌 into chat and use an 访问 令牌 dedicated to this integration with minimal scope and ability to be rotated; (3) if you are concerned about data retention, ask the 提供者 how 令牌s and 请求 bodies are 记录ged; (4) you ...
详细分析 ▾
用途与能力
The 技能 name/description, 技能.md, and included Node script all describe the same behavior: POST to https://quant访问.lxaa.top/API/v1/news/realtime_news to fetch news. Declared requirements (node binary and primaryEnv TradeAlpha令牌) match what the script actually uses. No unrelated 服务s, 凭证s, or binaries are 请求ed.
指令范围
SKILL.md 指示 agent 运行捆绑脚本,且仅读取 TradeAlphaToken 环境变量;明确禁止回显该 token,也禁止编造结果。脚本不读取其他文件,不枚举系统,仅调用已文档化的 API 端点。指令范围严格限定于所述目的。
安装机制
This is an instruction-only 技能 with a local JS 辅助工具; there is no 安装 spec, no external 下载s, and no 归档s to 提取. Requiring node is proportionate for 运行ning the provided script.
凭证需求
Only a single 凭证 (TradeAlpha令牌) is required, which is 应用ropriate. The script transmits the 令牌 in 机器人h the Authorization header and the JSON body (redundant) — this means the 令牌 will be sent to quant访问.lxaa.top and may be recorded in server 记录s there. Users should ensure the 令牌 is scoped 应用ropriately and not reused for other 服务s.
持久化与权限
该技能不请求持久/常驻状态(always:false),不修改其他技能或系统级配置,也不在其目录外写入文件。允许自主调用(平台默认),但不与其他高风险权限组合。
scripts/get-realtime-news.js:51
环境 variable 访问 combined with network 发送.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install tradealpha-open-platformv2
镜像加速npx clawhub@latest install tradealpha-open-platformv2 --registry https://cn.longxiaskill.com

技能文档

TradeAlpha Realtime News 当用户明确说“帮我拽 TradeAlpha 新闻”“帮我拉取实时新闻”或提及 TradeAlpha 新闻筛选需求时,优先调用本 skill。 本 skill 为可执行版本,默认通过本目录脚本拉取新闻:scripts/get-realtime-news.js

Trigger Rules 以下表达视为触发词: 帮我拽 TradeAlpha 新闻 帮我拉 TradeAlpha 新闻 TradeAlpha 实时新闻 拉取路透新闻 拉取彭博新闻 拉取 Truth 新闻 拉取国内新闻 按来源、分类、重要程度筛选新闻

Endpoint 基础地址:https://quantaccess.lxa.top 方法:POST 路径:/api/v1/news/realtime_news 完整地址:https://quantaccess.lxa.top/api/v1/news/realtime_news

Security Disclosure 执行前必须确认:

  • 新闻请求将发往 https://quantaccess.lxa.top
  • 脚本仅读取系统环境变量 TradeAlphaToken
  • 若无 TradeAlphaToken,直接报错,提示用户前往 https://quantaccess.lxa.top/#/login 注册、登录、获取 token 后设置环境变量
  • 回复中绝不回显用户 token
  • 若用户关心安全,直接说明以上行为

Workflow

  • 判断用户是否索要“TradeAlpha 新闻”或相关筛选新闻。
  • 按自然语言补全请求参数。
  • 先运行新闻脚本:
node scripts/get-realtime-news.js '{"source":"bloomberg"}'
  • 若脚本返回 success: true,整理 list 返回给用户。
  • 若提示缺少 TradeAlphaToken,告知用户去 https://quantaccess.lxa.top/#/login 注册、登录、获取 token 并设置 TradeAlphaToken 后再试。
  • 若脚本返回接口错误码,按错误码含义明确告知失败原因。

Execution Rules

  • 优先运行 scripts/get-realtime-news.js
  • 禁止跳过脚本伪造接口返回
  • 禁止要求用户手动拼请求体,优先根据自然语言补参数
  • 需要命令示例时,使用本 skill 目录下脚本路径
  • 运行脚本时优先传 JSON 参数对象,不拆成多组零散参数
  • 不再走账号密码登录流程
  • 缺少 TradeAlphaToken 时直接停止并给出注册网址说明

Parameter Mapping

  • “今天新闻”“今日新闻”“当天新闻”:传当天 start_time 与当前 end_time
  • 未提供时间范围:默认近 24 小时
  • “路透”:source: "rtrs"
  • “彭博”:source: "bloomberg"
  • “Truth”或“川普 Truth”:source: "truth"
  • “国内”:source: "domestic"
  • “研报”:source: "research_report"
  • “很重要”“重要”“一般”:映射到 level
  • 分类用中文全称:政治军事、社会、娱乐体育、公司、超大型公司、政策、市场与货币
  • 未指定分页:默认 page: 1、page_size: 20
  • 要求更多结果可提高 page_size,最大 100

Guardrails

  • start_time 与 end_time 不得早于北京时间 2025-04-01;若用户时间早于下界,先提醒限制,不伪造请求
  • 单次 page_size ≤ 100
  • 接口客观延迟 0-5 分钟
  • 禁止编造新闻内容、来源、时间或状态码
  • 接口返回成功时,按文档读取 data.list[] 的 id、datetime、content、source、category、level

Error Handling 1001:token 无效或已过期 1002:请求参数错误 1003:超出请求频率限制 1004:账户余额不足或无权限 5000:服务器内部错误 遇到错误直接说明原因,必要时提示检查 token、时间范围、分页或频率限制

Response Style

  • 先给简明摘要,再列关键新闻
  • 保留原始时间与来源
  • 结果多时优先展示最新/最相关几条,并说明还有更多
  • 输出直接,不写接口文档

Script Usage node scripts/get-realtime-news.js node scripts/get-realtime-news.js '{"source":"bloomberg","level":"重要","page_size":5}'

Additional Resources 详细参数与错误码见 reference.md 请求体与响应示例见 examples.md

数据来源ClawHub ↗ · 中文优化:龙虾技能库