All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Make the quality-ratchet scope comparison portable between Windows and POSIX path separators, so initialized submodules are not falsely reported missing.
- Format the OKX adapter README examples to keep the submodule format-ratchet at its recorded baseline.
- Preserve the portable POSIX file-lock typing boundary and Windows journal rollback coverage added during iteration 07.
- Pin the release candidate's exchange adapters to the iteration-07 commits
derived from their current
masterbranches. - Publish the iteration-07 quality-gate and execution-session improvements in the active documentation.
- Fix deprecated
logger.warn()→logger.warning()across 80+ files - Fix MEXC WebSocket
_setup_loggerindentation error inmarket_wss_base.pyandaccount_wss_base.py - Replace residual
print()with logger inMyWebsocketApp.message_rsp() - Fix hardcoded salt in
security.py— now uses random salt viaos.urandom(16)
- Remove
cythonfrom runtime dependencies (build-only dependency) - Relax
numpyversion constraint from<2.0.0to allow NumPy 2.x - CI: MyPy type checking now fails CI on errors (was
continue-on-error) - CI: Bandit security scan now fails CI on findings (was
continue-on-error) - Add pytest timeout (30s per test) to prevent hanging tests
- Require
bt_api_ctp>=2.0.2,<3.0for thecore-referencebundle - Install the unpublished
bt_api_okxcore-reference adapter from an immutable public source archive in CI without placing a direct URL in PyPI metadata - Declare the
build,wheel, andcythontoolchain in the development extra because resource-contract tests invokepython -m build --no-isolation - Validate the TestPyPI smoke install against the complete core-reference bundle, including the immutable CI-only OKX adapter, doctor contract, and real root/plugin imports
- Run TestPyPI smoke checks outside the source workspace and assert the root package originates from the installed distribution
CHANGELOG.md— this file- Gateway runtime integration coverage for unknown execution events and the cross-package CTP bridge
- Unified
BtApiinterface — callget_tick(),make_order()etc. directly onBtApi AbstractVenueFeedprotocol andAsyncWrapperMixinRateLimiterwith sliding window / fixed window modesConnectionPoolfor HTTP/WebSocket connection reuseSecureCredentialManagerfor encrypted API key storage- Custom exception hierarchy (
BtApiError,ExchangeNotFoundError, etc.) - 73 exchange registrations
- WebSocket exponential backoff reconnection in
MyWebsocketApp - Comprehensive test suite with unit/integration markers
- MkDocs documentation site
- GitHub Actions CI/CD (tests, lint, security)
- OKX spot/swap full implementation with WebSocket support
- Binance spot/swap with account WebSocket streams
- HTX (Huobi) spot trading support
- Interactive Brokers Web API integration
- Browser cookie support for IB Web API
- Initial multi-exchange framework
- Standardized data containers (Ticker, OrderBook, Bar, Order, Position, etc.)
- YAML-based exchange configuration system
以下为原 docs/getting-started/change_log.md 的文档维护记录(按日期归档)。
- 修复所有文档中
```bash代码围栏错误关闭的问题(影响 50+ 个文件) - 重写 docs/index.md:更新首页内容,修复示例代码匹配实际 BtApi 构造函数,添加 HTX 到交易所表格
- 新增 HTX (Huobi) 交易所文档
- 修复 docs/examples/api_examples.md:修复 15+ 处代码块格式错误
- 更新 mkdocs.yml 导航结构:新增 HTX (Huobi) 文档区
- 重写 README.md:新增项目特性、支持交易所表格、架构概览、快速开始指南、项目结构说明
- 新增 docs/architecture.md、docs/usage_guide.md、docs/developer_guide.md、docs/index.md
- 更新 trading.md、account_management.md 和 index.md 的时间戳
- 新增 api_reference_quick.md、implementation_guide.md 中文指南