Skip to content

Latest commit

 

History

History
105 lines (83 loc) · 4.52 KB

File metadata and controls

105 lines (83 loc) · 4.52 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[Unreleased]

[0.15.4] - 2026-09-21

Fixed

  • 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.

Changed

  • Pin the release candidate's exchange adapters to the iteration-07 commits derived from their current master branches.
  • Publish the iteration-07 quality-gate and execution-session improvements in the active documentation.

[0.15.3] - 2026-09-15

Fixed

  • Fix deprecated logger.warn() → logger.warning() across 80+ files
  • Fix MEXC WebSocket _setup_logger indentation error in market_wss_base.py and account_wss_base.py
  • Replace residual print() with logger in MyWebsocketApp.message_rsp()
  • Fix hardcoded salt in security.py — now uses random salt via os.urandom(16)

Changed

  • Remove cython from runtime dependencies (build-only dependency)
  • Relax numpy version constraint from <2.0.0 to 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.0 for the core-reference bundle
  • Install the unpublished bt_api_okx core-reference adapter from an immutable public source archive in CI without placing a direct URL in PyPI metadata
  • Declare the build, wheel, and cython toolchain in the development extra because resource-contract tests invoke python -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

Added

  • CHANGELOG.md — this file
  • Gateway runtime integration coverage for unknown execution events and the cross-package CTP bridge

[0.15.0] - 2025-01-01

Added

  • Unified BtApi interface — call get_tick(), make_order() etc. directly on BtApi
  • AbstractVenueFeed protocol and AsyncWrapperMixin
  • RateLimiter with sliding window / fixed window modes
  • ConnectionPool for HTTP/WebSocket connection reuse
  • SecureCredentialManager for 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)

[0.14.0] - 2024-12-01

Added

  • 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

[0.13.0] - 2024-11-01

Added

  • Initial multi-exchange framework
  • Standardized data containers (Ticker, OrderBook, Bar, Order, Position, etc.)
  • YAML-based exchange configuration system

文档修改记录 (Documentation log)

以下为原 docs/getting-started/change_log.md 的文档维护记录(按日期归档)。

2026-02-28 文档质量大幅提升

  • 修复所有文档中 ```bash 代码围栏错误关闭的问题(影响 50+ 个文件)
  • 重写 docs/index.md:更新首页内容,修复示例代码匹配实际 BtApi 构造函数,添加 HTX 到交易所表格
  • 新增 HTX (Huobi) 交易所文档
  • 修复 docs/examples/api_examples.md:修复 15+ 处代码块格式错误
  • 更新 mkdocs.yml 导航结构:新增 HTX (Huobi) 文档区

2026-02-28 完善项目文档体系

  • 重写 README.md:新增项目特性、支持交易所表格、架构概览、快速开始指南、项目结构说明
  • 新增 docs/architecture.md、docs/usage_guide.md、docs/developer_guide.md、docs/index.md

2026-02-26 更新 IBKR Web API 文档

  • 更新 trading.md、account_management.md 和 index.md 的时间戳
  • 新增 api_reference_quick.md、implementation_guide.md 中文指南

2025-02-03 增加统一接口 BtApi 可以直接连接多个交易所