원클릭으로
recipe-morning-brief
Morning market + portfolio briefing — prices, positions, P&L, overnight orders — as a single structured report.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Morning market + portfolio briefing — prices, positions, P&L, overnight orders — as a single structured report.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Progressive agent autonomy — from read-only to fully autonomous. Pick the lowest level that gets the job done.
Advanced contingency orders — OCO, OTO, OTOCO. Triggered orders with linked cancellation logic.
Credential and profile management — configure API keys via the setup wizard, environment variables, or config file. Resolution order and troubleshooting.
Verify credentials and inspect account balance — the first action an agent takes before trading.
Order placement and management — place, amend, cancel, close-position. Safety-first with dry-run and preflight checks.
Trade instruments that require isolated margin (e.g. RWA/equity perpetuals like SPYUSD-PERP). Covers the create-order flag, funding transfers, leverage adjustment, and the TUI M toggle.
| name | recipe-morning-brief |
| description | Morning market + portfolio briefing — prices, positions, P&L, overnight orders — as a single structured report. |
Requires authentication for the portfolio half. The market half is public.
# --- Market half (public) ---
# 1. Market-wide snapshot
cdcx market ticker -o json > /tmp/cdcx-tickers.json
# 2. Top movers: pick N largest |change_24h|
jq '.data[] | {i:.i, last:.a, chg:(.c|tonumber)}' /tmp/cdcx-tickers.json | \
jq -s 'sort_by(-(.chg|fabs)) | .[0:10]'
# --- Portfolio half (auth) ---
# 3. Cash balances
cdcx account summary -o json
# 4. Open positions + unrealized P&L
cdcx account positions -o json
# 5. Open orders left from overnight
cdcx trade open-orders -o json
cdcx advanced open-orders -o json
# 6. Yesterday's realized activity
cdcx history trades --start-time $(date -v-1d +%s)000 -o json
cdcx history transactions --start-time $(date -v-1d +%s)000 -o json
# 7. Equity curve snapshot
cdcx account balance-history --timeframe D1 -o json
(Note: date -v-1d is BSD/macOS. On GNU coreutils use date -d '1 day ago' +%s.)
Combine the above into a text briefing:
=== CDCX Morning Brief — $(date +%Y-%m-%d) ===
TOP MOVERS
BTC_USDT +3.2% @ 51,250
ETH_USDT +2.1% @ 2,820
SOL_USDT -4.5% @ 141
PORTFOLIO
Cash: 12,450 USDT
Positions: 3 open (BTC_USDT long, ETH_USDT long, SOL_USDT short)
Unrealized P&L: +245 USDT
OVERNIGHT ORDERS
2 open limit orders on BTC_USDT
1 OTOCO bracket on ETH_USDT
YESTERDAY
4 fills, 850 USDT realized P&L
cdcx account balance-history is useful for charting equity curves over timec field in ticker is a 24h change ratio (multiply by 100 for percent)history trades and history transactions take --start-time / --end-time as milliseconds-since-epochcdcx advanced open-orders or they'll be missed