mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 18:04:20 +08:00
feat!: rename project from xmtdx to easy-tdx
- Package directory: src/xmtdx/ -> src/easy_tdx/ - Import path: from easy_tdx import ... - pip install easy-tdx - Add LICENSE (MIT) with upstream attribution (pytdx, xmtdx) - Add NOTICE with detailed attribution - Update all examples, tests, scripts, docs - Bump version to 1.0.0 BREAKING CHANGE: import path changed from `xmtdx` to `easy_tdx` Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
9c5672b4d2
commit
50491f9aae
@@ -1,7 +1,7 @@
|
||||
"""演示:获取历史逐笔成交数据。date 参数为 YYYYMMDD 格式的整数。"""
|
||||
|
||||
import pandas as pd
|
||||
from xmtdx import TdxClient, Market
|
||||
from easy_tdx import TdxClient, Market
|
||||
|
||||
with TdxClient.from_best_host() as c:
|
||||
date = 20250110
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""演示:获取当日逐笔成交数据。"""
|
||||
|
||||
import pandas as pd
|
||||
from xmtdx import TdxClient, Market
|
||||
from easy_tdx import TdxClient, Market
|
||||
|
||||
with TdxClient.from_best_host() as c:
|
||||
records = c.get_transaction_data(Market.SH, "600000", 0, 20)
|
||||
|
||||
Reference in New Issue
Block a user