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:
- Sentiment Data (舆情) — News, public opinion, market sentiment records
- Technical Analysis Data — Structured analysis reports for trading pairs
Workflow
- Determine the data type (sentiment or technical analysis)
- Read the corresponding reference for schema and API details:
- Sentiment: See sentiment-data.md
- Technical Analysis: See technical-analysis-data.md
- Format the data according to the schema
- Call the appropriate API endpoint to write the data
- 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.
Scan to join WeChat group