tdxquant — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited tdxquant (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
PYPlugins\user\tqcenter.py。脚本通过 _tdx_init.py 自动检测安装目录并将路径加入 sys.path。用户也可以通过设置环境变量 TDX_ROOT 指定安装目录。600519.SH(上海)、000001.SZ(深圳)、430047.BJ(北交所)1m/5m/15m/30m/1h/1d/1w/1mon/1q/1y/ticknone 不复权、front 前复权、back 后复权.SH上海 .SZ深圳 .BJ北交所 .HK港股 .US美股 .CSI中证指数 .CNI国证指数 .CFF中金期货 等安装目录结构:
通达信安装目录\
├── TdxW.exe # 主程序
├── PYPlugins\
│ ├── TPyth.dll # 通信DLL
│ ├── TPythClient.dll # 通信DLL
│ ├── user\
│ │ └── tqcenter.py # TdxQuant 核心模块
│ ├── data\ # 下载数据目录
│ └── file\ # 发送文件目录| 用户提问 | 对应功能模块 | 调用参数 |
|---|---|---|
| "贵州茅台实时股价" | market_data.py snapshot | --code 600519.sh |
| "平安银行K线数据" | market_data.py kline | --code 000001.sz --period 1d |
| "招商银行基本信息" | market_data.py stock_info | --code 600036.sh |
| "招商银行财务指标" | financial_data.py financial | --code 600036.sh --fields fn193,fn197 |
| "半导体板块成分股" | sector_data.py sector_stocks | --block_name 半导体 |
| "今日新股申购" | etf_bond_data.py ipo_info | --ipo_type 2 --ipo_date 1 |
| "市场融资融券数据" | trading_data.py scjy | --fields sc1,sc25 |
| "MACD指标" | formula.py zb | --name MACD --arg 12,26,9 |
| "连涨3天选股" | formula.py xg | --name UPN --arg 3 |
python scripts/market_data.py snapshot --code 600519.shpython scripts/market_data.py kline --code 000001.sz --period 1d --count 100python scripts/financial_data.py financial --code 600036.sh --fields fn193,fn194 --start 20240101python scripts/market_data.py snapshot --code 600519.shpython scripts/market_data.py kline --code 600519.sh --period 1d --count 100python scripts/market_data.py stock_info --code 600519.shpython scripts/market_data.py more_info --code 600519.shpython scripts/market_data.py divid_factors --code 600519.shpython scripts/market_data.py gb_info --code 600519.sh --dates 20250101,20250601python scripts/financial_data.py financial --code 600519.sh --fields fn193,fn194,fn197 --start 20250101python scripts/financial_data.py financial_by_date --code 600519.sh --fields fn193,fn197 --year 0 --mmdd 0python scripts/financial_data.py gp_one_data --code 600519.sh --fields go1,go3,go5python scripts/trading_data.py gpjy --code 600519.sh --fields gp1,gp2,gp3 --start 20250101python scripts/trading_data.py bkjy --code 880660.sh --fields bk5,bk6,bk9 --start 20250101python scripts/trading_data.py scjy --fields sc1,sc2,sc3 --start 20250101python scripts/sector_data.py stock_list --list_type 5python scripts/sector_data.py sector_list --with_namepython scripts/sector_data.py sector_stocks --block_code 880081.shpython scripts/sector_data.py stock_relation --code 688318.shpython scripts/sector_data.py user_sector --action listpython scripts/etf_bond_data.py kzz_info --code 123039.szpython scripts/etf_bond_data.py trackzs_etf --zs_code 950162.csipython scripts/etf_bond_data.py ipo_info --ipo_type 2 --ipo_date 1python scripts/calendar.py --start 20250101 --end 20250601python scripts/formula.py zb --name MACD --arg 12,26,9 --code 688318.sh --period 1d --count 100python scripts/formula.py xg --name UPN --arg 3 --code 688318.sh --period 1d --count 100python scripts/formula.py mul_xg --name UPN --arg 3 --codes 688318.sh,600519.sh --period 1d --count 20tqcenter.py,说明当前客户端不支持TQ策略,需升级通达信终端.SH、.SZ、.BJ),大小写均可,但不可省略sys.path.insert(0, ...) 而非 append(),确保优先加载通达信安装目录的 tqcenter.py~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.