TA Signal Engine
Use this skill when the user wants technical-analysis based entry/exit signals and risk-defined trade setup proposals.
Inputs
- - OHLCV CSV with headers including:
date, open, high, low, close (case-insensitive) - Strategy mode:
trend, mean-reversion, or INLINECODE3
Run
CODEBLOCK0
Workflow
- 1. Run the script and inspect
signal and confidence. - If
signal=flat, explain why (no edge from current indicators). - If signal is active, use generated
entry/stop/target/size as the candidate plan. - Do not claim certainty; frame it as probabilistic setup.
Notes
- - This skill only produces analysis and paper-trade plans.
- For historical evaluation, use
ta-backtest skill. - For ledger/order lifecycle, use
ta-paper-executor skill.
TA信号引擎
当用户需要基于技术分析的入场/出场信号以及风险定义的交易设置建议时,使用此技能。
输入
- - OHLCV CSV文件,包含以下表头:date, open, high, low, close(不区分大小写)
- 策略模式:trend(趋势)、mean-reversion(均值回归)或breakout(突破)
运行
bash
python3 scripts/tasignalengine.py \
--csv /abs/path/prices.csv \
--symbol BTCUSDT \
--strategy trend \
--account-size 100000 \
--risk-per-trade 0.01 \
--json
工作流程
- 1. 运行脚本并检查signal(信号)和confidence(置信度)。
- 如果signal=flat(信号为平仓),解释原因(当前指标无优势)。
- 如果信号处于活跃状态,使用生成的entry/stop/target/size(入场/止损/目标/仓位)作为候选计划。
- 不要声称确定性;将其表述为概率性设置。
备注
- - 此技能仅生成分析和模拟交易计划。
- 如需历史评估,请使用ta-backtest(技术分析回测)技能。
- 如需账本/订单生命周期管理,请使用ta-paper-executor(技术分析模拟执行器)技能。