Skip to main content
Glama
easytrader-ths

easytrader-ths

by Liu8Can

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DRY_RUNNo安全演练开关;设为 `false` 才允许真实点击下单/撤单true
MAX_ORDER_AMOUNTNo单笔委托金额上限(元),超限直接拦截10000
EASYTRADER_BROKERNo客户端类型,支持 `ths` / `universal_client` / `miniqmt` 等ths
EASYTRADER_EXE_PATHNo`xiadan.exe` 路径;留空时自动匹配“网上股票交易系统5.0”窗口自动探测
EASYTRADER_CACHE_TTLNo`get_balance` / `get_position` 防抖缓存时间(秒)4.0
EASYTRADER_THS_NO_CHECKNo连接时写入 `xiadan.ini` 的 `[AI_TRADE] no_check_sorc=1`,关闭复制/保存验证码风控true
EASYTRADER_GRID_STRATEGYNo表格读取策略,可选 `wmcopy`(后台消息复制,推荐)/ `copy` / `xls`wmcopy
EASYTRADER_THS_MUTE_CBASNo连接时静音客户端内 CBAS 复制/导出埋点(`0xFF1`/`0xFF5`),阻止行为随 `bp_log` 上报true
EASYTRADER_BACKGROUND_MODENo无头/后台模式:不抢前台焦点(切页走 `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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources