与图表一致的数值
带版本号、经独立测试的公式,预热期明确。每个响应都标明公式版本。
开发者 API
驱动 TraderAI 的同一引擎,以 API 形式提供:发送 K 线,即可获得指标、形态、回测、波动区间和 AI 图表解读。支持任何编程语言,也可通过 MCP 供 AI 智能体使用。
带版本号、经独立测试的公式,预热期明确。每个响应都标明公式版本。
发送截图即可获得趋势、形态、关键价位和经过验证的计划。并非盈利概率,也不构成投资建议。
Model Context Protocol 端点以相同的密钥、限额和积分,将所有工具开放给 Claude、Cursor 等智能体。
无效请求不收费,失败调用自动退还积分。预付方案和积分包:没有超额账单。
每次调用先扣方案积分,再扣预付积分包。两者都用完时 API 返回 402,绝不会事后收费。
预付使用期:月度为 30 天,年度为 12 个 30 天周期(360 天)。需手动续期。充值额度永不过期。
Developer API 提供独立的 Free、Starter、Builder 和 Scale 套餐,与 TraderAI 交易和 Crypto Hub 套餐分开。可先使用 Free,再比较公开限额后购买 API 套餐。
$0
适合原型和个人项目。需要验证邮箱。
$19/月
适合需要指标、形态和回测的正式应用。
$49/月
包含 Starter 全部功能,另加 AI 图表分析。
$149/月
为高流量平台和 AI 智能体提供最高限额。
用量激增时充值。积分包在方案额度之后使用,账户存在期间不会过期。
100,000 积分
$15
500,000 积分
$60
2,000,000 积分
$200
REST、GraphQL、JSON-RPC 和 MCP 共用 API 密钥、权限和额度。批量请求最多包含 10 个操作。SSE 返回任务结果,Socket.IO 支持通过 WebSocket 调用。两者均不提供实时价格流。
GraphQL SDL将此服务器添加到任何支持 streamable HTTP 的 MCP 客户端。工具会按方案和密钥范围筛选。
错误在 "message" 返回固定代码,在 "error" 返回可读说明。401 密钥无效,402 积分不足,403 方案或范围不足,429 超出速率(见 Retry-After),503 上游不可用(已退还)。
curl -X POST https://traderai.cloud/api/v1/open/risk/position-size \
-H "Authorization: Bearer $TRADERAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accountBalance":10000,"riskPercent":1,"entryPrice":100,"stopLossPrice":95,"takeProfitPrice":110}'积分按工作单位计费。AI 端点的定价始终覆盖模型成本。
POST/open/indicators/compute
Compute up to 10 technical indicators over candles you send. 1 credit per indicator per 1,000 candles.
积分: 1
起始方案: 免费
POST/open/patterns/detect
Detect candlestick and chart patterns on closed candles you send (the last bar is treated as forming).
积分: 2
起始方案: 免费
POST/open/risk/position-size
Position size and reward/risk from balance, risk %, entry, stop and optional target. Pure maths.
积分: 1
起始方案: 免费
POST/open/volatility/forecast
GARCH(1,1) next-bar expected move (68% / 95% ranges) from candles you send. Forecasts size, never direction.
积分: 2
起始方案: 免费
POST/open/analogs/search
Find the most similar past windows to the latest closed window and what followed (1/5/20 bars). Not a prediction.
积分: 10
起始方案: Starter
POST/open/backtest/run
Run a rule-based strategy over candles you send with fees, slippage and next-bar-open fills. 25 credits per 5,000 candles.
积分: 25
起始方案: Starter
GET/open/track-record/patterns
Officially recorded candlestick-pattern outcomes (win rate vs market baseline) per pattern.
积分: 1
起始方案: 免费
GET/open/track-record/volatility
Officially recorded volatility-forecast calibration (share of moves inside the 68% / 95% bands).
积分: 1
起始方案: 免费
POST/open/ai/chart-analysis
Vision AI analysis of a chart screenshot you send: trend, patterns, key levels and a validated trade plan when the chart supports one.
积分: 500至少覆盖 AI 成本
起始方案: Builder
基于你发送的 K 线计算出的结果可用于你的产品。第三方原始行情数据仅在许可允许再分发时提供,相关端点会标注且可能暂不可用。
在下一个 30 天周期或购买积分包之前,调用返回 402。不会自动扣费。
不是。这是对图表的技术解读。形态评分衡量的是质量,而非盈利概率。请向你的用户说明。
可以。续费同一方案会在当前到期日后顺延。升级立即生效,未用时间折算为额外天数。降级需等当前方案结束。
Developer API 提供独立的 Free、Starter、Builder 和 Scale 套餐,与 TraderAI 交易和 Crypto Hub 套餐分开。可先使用 Free,再比较公开限额后购买 API 套餐。