Skip to content

v0.1.0 首发:A股行情数据助手

Choose a tag to compare

@guozede12593312 guozede12593312 released this 18 Aug 14:56
· 1 commit to main since this release

首发:A股行情数据助手

为做 AI 投资分析的 DSH 用户,解决模型拿不到行情数据的问题,接入通达信(pytdx)提供四类工具:

  • tdx_kline:A股历史 K 线(1m~month,默认日K)
  • tdx_quote:实时行情快照(批量)
  • tdx_indicator:技术指标(MACD/RSI/MA/EMA)
  • tdx_sector:概念板块成分/列表

安装

dsh plugin --profile <profile> add https://github.com/guozede12593312/dsh-tdx

前置依赖

  • Python 3.6+ 且 pip install pytdx
  • python 不在 PATH,设置环境变量 DSH_TDX_PYTHON 指向解释器

验证

  • 19 项单测全绿
  • 加载日志 + 私有字段(4 工具 *_ok)真机复现