Releases: cloudQuant/bt_api_ctp
Releases · cloudQuant/bt_api_ctp
Release list
bt_api_ctp 2.0.2
bt_api_ctp 2.0.2\n\n- Restore Python 3.9 compatibility for frozen CTP data objects.\n- Validate the complete 647-test suite, quality gates, and the Python 3.9–3.14 CI matrix.\n\nThis release provides the CTP adapter package only; it does not constitute CTP/SimNow live-trading or profitability evidence.
v2.0.1 - CI fixes, ruff format, bilingual docs
v2.0.1 - CTP Plugin Update
Changes
- CI workflow fixes: Fixed
${}→${{}}syntax, addedtags: [v*]trigger, reduced test matrix to ubuntu-3.11 - Ruff formatting: Added ruff config to pyproject.toml, formatted all 35 source files (double→single quotes)
- README update: Replaced
CTPApiwith correctCtpGatewayAdapterclass, full bilingual (EN/ZH) API documentation - Expanded docs/index.md: Bilingual API reference with constructor params, place_order/cancel_order payload formats, feed/container class tables
- mkdocs.yml: Added i18n plugin for EN/ZH language switching
API Changes
- Gateway class:
CtpGatewayAdapter(notCTPApi) - Exchange code:
CTP___FUTURE - Supported exchanges: SHFE, DCE, CZCE, CFFEX, INE, GFEX
- Methods:
connect(),disconnect(),subscribe_symbols(),get_balance(),get_positions(),place_order(),cancel_order()
PyPI Publish
PYPI_TOKEN secret scoped to bt_api_ctp. See https://pypi.org/manage/account/tokens/