Loading...
Loading...
Tongdaxin Quantitative Data Retrieval Skill. Use this skill when users mention tdxquant, Tongdaxin, TdxQuant, tqcenter, and need to obtain A-share market data (market snapshot, K-line, financial data, sector data, convertible bonds, new stocks, trading data, etc.), query trading calendars, execute Tongdaxin formulas, subscribe to market quotes, or place trading orders.
npx skill4agent add lzwme/finance-quant-skills tdxquantPYPlugins\user\tqcenter.py_tdx_init.pysys.pathTDX_ROOT600519.SH000001.SZ430047.BJ1m5m15m30m1h1d1w1mon1q1yticknonefrontback.SH.SZ.BJ.HK.US.CSI.CNI.CFFTongdaxin Installation Directory\
├── TdxW.exe # Main Program
├── PYPlugins\
│ ├── TPyth.dll # Communication DLL
│ ├── TPythClient.dll # Communication DLL
│ ├── user\
│ │ └── tqcenter.py # TdxQuant Core Module
│ ├── data\ # Downloaded Data Directory
│ └── file\ # File Sending Directory| User Query | Corresponding Functional Module | Call Parameters |
|---|---|---|
| "Real-time stock price of Kweichow Moutai" | market_data.py snapshot | --code 600519.sh |
| "K-line data of Ping An Bank" | market_data.py kline | --code 000001.sz --period 1d |
| "Basic information of China Merchants Bank" | market_data.py stock_info | --code 600036.sh |
| "Financial indicators of China Merchants Bank" | financial_data.py financial | --code 600036.sh --fields fn193,fn197 |
| "Constituent stocks of semiconductor sector" | sector_data.py sector_stocks | --block_name Semiconductor |
| "Today's new stock subscriptions" | etf_bond_data.py ipo_info | --ipo_type 2 --ipo_date 1 |
| "Market margin trading and short selling data" | trading_data.py scjy | --fields sc1,sc25 |
| "MACD indicator" | formula.py zb | --name MACD --arg 12,26,9 |
| "Stock selection for 3 consecutive rising days" | 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.SH.SZ.BJsys.path.insert(0, ...)append()