feat(okx-auto-position): v4.5.0 只设 SL 不设 TP, 平仓信号自动跟单
- scripts/okx_position_advisor.py execute_order(): * 步骤名 tp_sl → sl_only * OCO algo (双触发) → conditional algo (单腿 SL) * 不挂 tpTriggerPx, 只挂 slTriggerPx * 实测: SPCX 1.45张 short OCO 已撤, 改挂 SL @ 153.62 - SKILL.md: * v4.5.0 章节: 只设止损不设止盈 (原因: advisor 算的 TP 太远, 占用保证金) * 平仓信号自动跟单: 同方向 reduceOnly 平仓, 反方向不动, 无 Y/N * 完全自动跟单流程: 加仓/新开仓/平仓/减仓信号都自动判断执行 * 实测案例: SPCX 1.45张空 @ 149.15, 浮盈 /usr/bin/bash, 占用 45% Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+241
-1309
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user