feat: 新增股票基础数据获取模块 stock_basic
- 新增 get_stock_basic 和 sync_all_stocks 函数 - 完善 Tushare 数据获取模块体系 - 测试用例重构:从 Mock 改为真实 API 调用 - 更新 API 文档,添加接口使用示例 - 更新开发规范:添加 Mock 使用规范
This commit is contained in:
@@ -16,7 +16,7 @@ class Storage:
|
||||
path: Base path for data storage (auto-loaded from config if not provided)
|
||||
"""
|
||||
cfg = get_config()
|
||||
self.base_path = path or cfg.data_path
|
||||
self.base_path = path or cfg.data_path_resolved
|
||||
self.base_path.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
def _get_file_path(self, name: str) -> Path:
|
||||
|
||||
Reference in New Issue
Block a user