mirror of
https://github.com/ZhuLinsen/daily_stock_analysis
synced 2026-09-20 10:53:33 +08:00
fix: restore installable longbridge constraints
This commit is contained in:
@@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
||||
<!-- 新条目格式:- [类型] 描述(类型取值:新功能/改进/修复/文档/测试/chore)-->
|
||||
<!-- 每条独立一行追加到本段末尾,无需分类标题,合并时冲突最小 -->
|
||||
|
||||
## [3.24.1] - 2026-06-28
|
||||
|
||||
### 修复
|
||||
|
||||
- 修正 Longbridge SDK 版本约束为按平台选择可安装版本,避免桌面与 Docker 发布在 `pip install -r requirements.txt` 时因不存在的 `0.2.75` 版本失败。
|
||||
|
||||
## [3.24.0] - 2026-06-28
|
||||
|
||||
### 发布亮点
|
||||
@@ -1890,7 +1896,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
---
|
||||
|
||||
[Unreleased]: https://github.com/ZhuLinsen/daily_stock_analysis/compare/v3.24.0...HEAD
|
||||
[Unreleased]: https://github.com/ZhuLinsen/daily_stock_analysis/compare/v3.24.1...HEAD
|
||||
[3.24.1]: https://github.com/ZhuLinsen/daily_stock_analysis/compare/v3.24.0...v3.24.1
|
||||
[3.24.0]: https://github.com/ZhuLinsen/daily_stock_analysis/compare/v3.23.0...v3.24.0
|
||||
[3.23.0]: https://github.com/ZhuLinsen/daily_stock_analysis/compare/v3.22.0...v3.23.0
|
||||
[3.22.0]: https://github.com/ZhuLinsen/daily_stock_analysis/compare/v3.21.1...v3.22.0
|
||||
|
||||
@@ -16,7 +16,11 @@ tushare>=1.4.0 # Priority 2: Tushare Pro API
|
||||
pytdx>=1.72 # Priority 2: Tongdaxin quote servers
|
||||
baostock>=0.8.0 # Priority 3: Baostock data
|
||||
yfinance>=0.2.0 # Priority 4: Yahoo Finance (Fallback)
|
||||
longbridge==0.2.75 # Priority 5: Longbridge OpenAPI fallback for US/HK stocks; OAuth capability checked at runtime
|
||||
# Longbridge 4.x Linux wheels currently require manylinux_2_39; Docker uses bookworm/glibc 2.36.
|
||||
# Priority 5: Docker/Linux fallback SDK.
|
||||
longbridge==0.2.74; platform_system == "Linux" and python_version < "3.12"
|
||||
# Priority 5: Longbridge OpenAPI SDK with OAuth support.
|
||||
longbridge>=4.0.5,<5; platform_system != "Linux" or python_version >= "3.12"
|
||||
tickflow>=0.1.24 # TickFlow official SDK; 0.1.24 verified for klines/get batch quotes/universes
|
||||
# Built-in optional AlphaSift screening engine
|
||||
git+https://github.com/ZhuLinsen/alphasift.git@0a7b9cd59e81718f851890535241bc105d4ddc64#egg=alphasift
|
||||
|
||||
Reference in New Issue
Block a user