team/dev/: skz-data-research-0.1.0 metadata and description
skz 投研系统 · skz-data-research 模块(L1 · Tushare/XY 数据源 + K 线缓存构建 + research.get_data)
| description_content_type | text/markdown |
| metadata_version | 2.3 |
| requires_dist |
|
| requires_python | >=3.11 |
Because this project isn't in the mirror_whitelist,
no releases from root/pypi are included.
| File | Tox results | History |
|---|---|---|
skz_data_research-0.1.0-py3-none-any.whl
|
|
skz-data-research
L1 · 投研历史数据集准备:Tushare / XY 数据源适配、K 线缓存构建、按 problem 取数。
对外 API
| 名称 | 类型 | 含义 |
|---|---|---|
| `get_data(problem, mode='train' | 'valid' | 'total')` |
resolve_research_dir() |
function | 解析研究数据根目录(RESEARCH_DATA_DIR) |
get_klines(...) |
function | Tushare K 线(兼容旧接口) |
build_future_kline_cache / build_stock_kline_cache / build_etf_kline_cache / build_cs_kline_cache |
function | 缓存构建 |
ts / xy / cooperation / strategy |
submodule | 各数据源命名空间 |
上下游
- 上游:
skz-common、skz-data-common、pandas、numpy、duckdb、polars、tushare、rs-czsc、chanfactor - 下游:
skz-factor-quality、skz-strategy-research、skz-strategy-realtime、skz-data-realtime、skz-ensemble、skz-agent、skz-pipeline
环境变量
RESEARCH_DATA_DIR— 研究数据根目录TUSHARE_TOKEN— Tushare API token
副作用
- 完成本包迁移后,
skz-strategy-model.backtest.get_data的运行时路径会自动激活(之前try import skz_data_research / except → ImportError stub现在会真正命中)