技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-pipeline【数据与研究】Configure, validate, and operate AlphaGPT's safe OHLCV ingestion pipeline.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about AlphaGPT market-data ingestion:
Birdeye or DexScreener provider behavior, Postgres/Timescale schema, OHLCV table
contents, .env configuration, safe preflight checks, or diagnosing empty/noisy
ingestion runs.
tokens and ohlcv DDL without making any network request or database connection.--scope data.BIRDEYE_API_KEY, DB_USER, DB_PASSWORD, DB_HOST, DB_PORT, and DB_NAME.500000.0, minimum FDV is 10000000.0, MAX_FDV is unlimited, chain is solana, and timeframe is 1m.DataManager.pipeline_sync_daily(self) discovers candidates, filters by liquidity/FDV, upserts token metadata, fetches OHLCV in batches, and inserts candles.DBManager.init_schema(self) creates tokens and ohlcv; it attempts a Timescale hypertable and falls back to standard Postgres if unavailable.BirdeyeProvider.get_trending_tokens(self, limit=100) returns normalized token dictionaries with address, symbol, name, decimals, liquidity, and FDV.BirdeyeProvider.get_token_history(self, session, address, days=7, liquidity=None, fdv=None) returns formatted candle records with source birdeye.DexScreenerProvider exists, but the default daily sync does not use it as a full Birdeye replacement.| User intent | Read/run | Notes |
|---|---|---|
| "What env vars/config does the data pipeline need?" | references/data-pipeline-reference.md | Covers .env values and code constants. |
| "Show the schema without touching DB." | scripts/alpha_gpt_schema_preview.py | Deterministic, standard-library only. |
| "Can I run the daily Birdeye sync?" | references/data-pipeline-reference.md | Requires explicit network/DB authorization. |
| "Why did it ingest no rows?" | references/troubleshooting.md | Check API key, provider response, paid/free limit, liquidity/FDV filters, and DB insert path. |
| "How do Timescale and Postgres differ here?" | references/data-pipeline-reference.md | Hypertable creation is best-effort. |
Native data_pipeline/run_pipeline.py is a skip-network/DB-write candidate. Use
schema preview, environment checks, and static review as default verification.
Do not run live ingestion unless the user supplies/authorizes API access,
network use, and a target database.