Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-stop-loss
A股止损策略/风控规则量化。当用户说"止损"、"stop loss"、"止盈"、"风控"、"该不该割肉"、"设在哪"、"止损位"时触发。量化设计止损止盈策略。支持formal和brief风格。
Passed 6 of 12 test cases with the skill, and 6 of 12 without it.
and 3 more in the full report
6 fixed5 passed either way6 still failing6 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
What is the command line invocation to pull daily historical prices for stock 600000 starting from 2023-01-01 using the workspace data script?
| Checked | Without skill | With skill |
|---|---|---|
| Invokes python cn_stock_data.py kline --code 600000 --freq daily --start 2023-01-01. | Missed | Passed |
The instructions your model reads when the skill loads.
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [日期]
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
回测各止损方法在该股上的历史表现(避免的亏损 vs 误杀的盈利)
根据标的波动特征选择最优止损幅度
| 维度 | formal | brief |
|---|---|---|
| 止损方案 | 多方法对比 | 建议止损位 |
| 回测结果 | 各方法胜率+收益 | 推荐方法 |
| 止盈建议 | 止盈策略 | 目标价位 |
| 默认风格:brief。 |
test cases passed, vs 6 / 12 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.