INNER CODE UNIT · Python

TREND_BREAK

renee-jia/trading-bot · ai_sell_put_plan.py:46

TREND_BREAK = 0.97       # price < 97% of SMA200 = long-term trend broken
ADD_DIP_1D = -1.5        # today's pullback that makes "今日加仓" live
ADD_RSI = 60.0
HOT_RSI = 68.0
CHASE_1D = 3.0
EARLY_STRIKE_PCT = 0.97  # 第一批回踩位 fallback when SMA20 is above spot

ENTRY_LABELS = {
    "yes": "适合 sell put 建仓",
    "small": "可小量(评分一般)",
    "thin": "可建仓,但权利金薄",
    "held": "已持有:put 只作加仓",
    "wait_event": "事件窗口,先不开",
    "wait_earnings": "跨财报 / 无合适到期",
    "no": "不建议用 put 接",
    "no_data": "数据不足",
    "no_chain": "期权链不可用",
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…