qlib
qlib copied to clipboard
Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, incl...
Fix typo ## Types of changes - [ ] Fix bugs - [ ] Add new feature - [x] Update documentation
**Context and Purpose:** This PR automatically remediates a security vulnerability: - **Description:** Detected the use of eval(). eval() can be dangerous if used to evaluate dynamic content. If this content...
**Context and Purpose:** This PR automatically remediates a security vulnerability: - **Description:** Functions reliant on pickle can result in arbitrary code execution. Consider using fickling or switching to a safer...
The following error comes from "qrun benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml" ERROR - qlib.workflow - [utils.py:41] - An exception has been raised[OSError: dlopen(/opt/anaconda3/envs/condavenv/lib/python3.12/site-packages/lightgbm/lib/lib_lightgbm.dylib, 0x0006): Library not loaded: @rpath/libomp.dylib Referenced from: /opt/anaconda3/envs/condavenv/lib/python3.12/site-packages/lightgbm/lib/lib_lightgbm.dylib Reason: tried: '/opt/homebrew/opt/libomp/lib/libomp.dylib'...
while trying to run "python collecf_info.py all" the followings pop out. /Users/admin_gu/Projects/Qlib/scripts/collect_info.py:5: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early...
Your data request fails. This may be caused by your firewall (e.g. GFW). Please switch your network if you want to access Yahoo! data 
Description: When running a standard Qlib workflow (e.g., examples/workflow_by_code.ipynb or examples/workflow_by_code.py) in a Colab environment, a TypeError occurs in LocalDatasetProvider.dataset, followed by an AttributeError in ParallelExt during exception handling. This...
## 🐛 Bug Description ## To Reproduce To reproduce the bugs, you can run the workflow_by_code.py, with the model "linear" and you will find the error "the dataset is empty."And...
**系统环境:** * 操作系统: macOS Sonoma 14.5 (darwin 24.5.0, arm64) * Python 版本: 3.12 * Qlib 版本: 0.9.6 (通过 `pip install pyqlib` 在一个全新的虚拟环境中安装) **问题描述:** 无论使用何种方式准备数据(包括使用官方`dump_bin.py`脚本或手动创建二进制文件),`qlib.init(provider_uri=...)` 在我的系统上初始化后,`D.instruments()` 始终返回一个看起来像是内部查询过滤器的字典 `{'market': 'all', 'filter_pipe': []}`,其长度为2,而不是预期的包含超过5000只股票代码的列表。...
## Description Fix yahoo collector for fetching us data: 1. Eastmoney API now requires fetch data by pages. 2. Nasdaq deprecated the `ftp` endpoint and replaced it with `https`. ##...