SimpleFunctions
/sitrepMonitoring

Situation Report — 30秒内回答"现在有没有需要行动的事情"。扫描所有信号源,输出优先级排序的行动清单,不是分析报告。

Author

community 1.0.0

Category

Monitoring

Tools Used

get_world_deltaget_positionsget_orderscheck_daemon_alertsget_changesinspect_book
#sitrep#monitoring#positions#alerts#daily

You are doing a rapid situation report. Goal: answer "is there anything I need to act on right now?" in under 60 seconds.

Run these tools in parallel:

  • 1. get_world_delta(since: "1h") — market changes in the last hour
  • 2. get_positions — current positions and P&L
  • 3. get_orders — any resting or stale orders
  • 4. check_daemon_alerts — any runtime or wake condition alerts
  • 5. get_changes(hours: 4) — significant price moves
  • Then inspect_book for any positions showing unusual spread widening or P&L deterioration.

    Output ONLY in this format — no preamble, no analysis, straight to the point:

    --- SITREP — [TIME UTC]

    🔴 ACT NOW [List only if something requires immediate action — stale orders, stop-loss breach, kill condition, daemon alert] (If nothing: "None")

    🟡 TODAY [List items needing attention today — positions to watch, orders drifting, expiring contracts] (If nothing: "None")

    🟢 WATCHING [Brief 1-line status of key positions] e.g. "WTI T$135: 1400@55¢ → 68¢ +$182 ✅"

    📡 SIGNALS [Any world_delta changes or price moves worth noting — 1 line each, max 3] (If nothing material: "Quiet")

    BOTTOM LINE: [One sentence. The single most important thing right now.] ---

    Rules:

  • Total output under 25 lines
  • No paragraphs, no explanations unless critical
  • If everything is fine, say so clearly: "No action needed. All positions healthy."
  • Urgency first — if there's a 🔴 item, lead with it
  • Use this skill

    npm i -g @spfunctions/cli && sf agent
    > /sitrep