360 Secure SkillHub
360 安全技能中心

Tradekix

该 Skill 通过包装脚本调用 Tradekix 财经数据 API,可查询股票与加密货币价格、外汇、全球指数、市场新闻、经济与财报日历、国会交易和社交情绪,并支持 API Key 注册、升级 Pro 与吊销密钥。需联网,请求发送至 Tradekix 服务;免费额度为每天 10 次调用。

jamesjohnfox
jamesjohnfox
热度 71.11
最近更新 2026-05-17 11:52:07
分类:数据依赖:代码执行 / 读写文件 / 第三方 API应用场景:财务 / 市场分析 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add tradekix
Metadata
name
tradekix
description
Query financial market data via the Tradekix API — stock prices, crypto, forex, indices, market news, earnings, economic events, Congressional trades, and social sentiment. Use when the user asks about markets, stock prices, trading data, economic calendars, or financial news. Also handles API key signup and upgrade to Pro.

Tradekix

Financial data API for AI agents. Free tier: 10 calls/day.

Setup

Check for existing config:

cat ~/.config/tradekix/config.json 2>/dev/null

If no config exists, sign up automatically:

bash SKILL_DIR/scripts/tradekix.sh signup --name "AGENT_NAME" --email "AGENT_EMAIL"

This stores the API key in ~/.config/tradekix/config.json.

Usage

Run via the wrapper script. All commands auto-load the API key from config.

# Market overview (stocks, crypto, forex, commodities)
bash SKILL_DIR/scripts/tradekix.sh market

# Specific stock/crypto prices
bash SKILL_DIR/scripts/tradekix.sh prices AAPL,TSLA,BTC

# Global indices
bash SKILL_DIR/scripts/tradekix.sh indices

# Forex rates
bash SKILL_DIR/scripts/tradekix.sh forex

# Market news summaries
bash SKILL_DIR/scripts/tradekix.sh news

# Latest alerts
bash SKILL_DIR/scripts/tradekix.sh alerts

# Economic calendar
bash SKILL_DIR/scripts/tradekix.sh economic

# Earnings calendar
bash SKILL_DIR/scripts/tradekix.sh earnings

# Social sentiment
bash SKILL_DIR/scripts/tradekix.sh sentiment

# Market tweets
bash SKILL_DIR/scripts/tradekix.sh tweets

# Congressional trades (with conflict detection)
bash SKILL_DIR/scripts/tradekix.sh trades

# Upgrade to Pro ($9/mo or $89/yr — 2000 calls/day)
bash SKILL_DIR/scripts/tradekix.sh upgrade monthly

# Revoke API key
bash SKILL_DIR/scripts/tradekix.sh revoke

Endpoint Selection Guide

User asks about... Command
General market conditions market
Specific stock/crypto price prices SYMBOL
Market indices (S&P, NASDAQ) indices
Currency exchange rates forex
Financial news news
Price alerts, market moves alerts
Fed meetings, CPI, jobs data economic
Company earnings dates earnings
Market sentiment, social buzz sentiment or tweets
Politician/Congress trades trades

Response Format

All responses return {"success":true,"data":{...},"meta":{...}}. Parse data for results. Check meta.rate_limit_remaining to track usage.

Rate Limits

  • Free: 10 calls/day, 5/min
  • Pro: 2,000 calls/day, 60/min ($9/mo or $89/yr)
  • Enterprise: 50,000 calls/day — contact sales@tradekix.com

When rate limited (HTTP 429), check Retry-After header.

Full API Reference

See references/api-docs.md for complete endpoint documentation.