返回 Skill 列表
extension
分类: 开发与工程无需 API Key

crypto-info-archive

将加密市场信息归档到aitrade支持服务器的指南。在将新闻/舆论数据写入情感存储或将技术分析报告写入分析存储时使用。涵盖数据模式、API使用、字段约定以及针对情感(舆情)和技术分析两种数据类型的最佳实践。

person作者: jakexiaohubgithub

Crypto Info Archive

Archive crypto market information (news sentiment and technical analysis) into the aitrade support server's data store.

Data Types

Two categories of data can be archived:

  1. Sentiment Data (舆情) — News, public opinion, market sentiment records
  2. Technical Analysis Data — Structured analysis reports for trading pairs

Workflow

  1. Determine the data type (sentiment or technical analysis)
  2. Read the corresponding reference for schema and API details:
  3. Format the data according to the schema
  4. Call the appropriate API endpoint to write the data
  5. Optionally attach files (charts, screenshots) to the created record

Key Differences

| | Sentiment | Technical Analysis | |---|---|---| | Purpose | News & market opinion | Trading pair analysis | | Identifier | relation (e.g. BTC) | symbol (e.g. BTC/USDT) | | Classification | opinion field | tags array | | Batch insert | Supported | Not supported | | Auth required | No | Yes (analysis permission) |

Configuration

The API base URL and API keys are environment-specific. Do not hardcode these values. Obtain them from the deployment configuration or environment variables.