easytrader-ths
by Liu8Can
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DRY_RUN | No | 安全演练开关;设为 `false` 才允许真实点击下单/撤单 | true |
| MAX_ORDER_AMOUNT | No | 单笔委托金额上限(元),超限直接拦截 | 10000 |
| EASYTRADER_BROKER | No | 客户端类型,支持 `ths` / `universal_client` / `miniqmt` 等 | ths |
| EASYTRADER_EXE_PATH | No | `xiadan.exe` 路径;留空时自动匹配“网上股票交易系统5.0”窗口 | 自动探测 |
| EASYTRADER_CACHE_TTL | No | `get_balance` / `get_position` 防抖缓存时间(秒) | 4.0 |
| EASYTRADER_THS_NO_CHECK | No | 连接时写入 `xiadan.ini` 的 `[AI_TRADE] no_check_sorc=1`,关闭复制/保存验证码风控 | true |
| EASYTRADER_GRID_STRATEGY | No | 表格读取策略,可选 `wmcopy`(后台消息复制,推荐)/ `copy` / `xls` | wmcopy |
| EASYTRADER_THS_MUTE_CBAS | No | 连接时静音客户端内 CBAS 复制/导出埋点(`0xFF1`/`0xFF5`),阻止行为随 `bp_log` 上报 | true |
| EASYTRADER_BACKGROUND_MODE | No | 无头/后台模式:不抢前台焦点(切页走 `TVM_SELECTITEM`、弹窗用 `BM_CLICK`、输入走 `WM_SETTEXT`) | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |